summaryrefslogtreecommitdiff
path: root/src/radeon_atombios.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2018-09-05 18:23:29 +0200
committerMichel Dänzer <michel@daenzer.net>2018-09-11 15:16:38 +0200
commit2d58830c3feafc54dccc0b7bf761a466437d4a09 (patch)
tree39616718ae4d8a205c2a03efae3435c208d7abe2 /src/radeon_atombios.h
parent5d5d883496842da84d9418e91cb13454751da625 (diff)
Fix uninitialized use of local variable pitch in radeon_setup_kernel_mem
Fixes server reset. Pointed out by clang: ../../src/radeon_kms.c:2721:9: warning: variable 'pitch' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (!info->front_buffer) { ^~~~~~~~~~~~~~~~~~~ ../../src/radeon_kms.c:2765:27: note: uninitialized use occurs here pScrn->displayWidth = pitch / cpp; ^~~~~
Diffstat (limited to 'src/radeon_atombios.h')
0 files changed, 0 insertions, 0 deletions