mirror of
https://github.com/X11Libre/xf86-video-sis.git
synced 2026-03-23 17:19:39 +00:00
sis_utility: fix uninitialized variables
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
c52ab1c927
commit
3f3018e8ce
@@ -1496,7 +1496,7 @@ SiSHandleSiSDirectCommand(xSiSCtrlCommandReply *sdcbuf)
|
||||
case SDC_CMD_GETMERGEDMODEDETAILS:
|
||||
if(pSiS->MergedFB) {
|
||||
int clk, hd, hss, hse, ht, vd, vss, vse, vt;
|
||||
unsigned int pos, crt1x, crt1y, crt1clk, crt2x, crt2y, crt2clk;
|
||||
unsigned int pos = 0, crt1x = 0, crt1y = 0, crt1clk = 0, crt2x = 0, crt2y = 0, crt2clk = 0;
|
||||
|
||||
clk = sdcbuf->sdc_parm[0];
|
||||
hd = sdcbuf->sdc_parm[1];
|
||||
|
||||
Reference in New Issue
Block a user