Messages in this thread Patch in this message | | | Date | Mon, 13 Oct 2003 12:22:21 -0400 (EDT) | From | Rik van Riel <> | Subject | [PATCH][TRIVIAL] initialise variables in SiS_GetCRT2Data301() |
| |
diff -urNp linux-5110/drivers/video/sis/init301.c linux-10010/drivers/video/sis/init301.c --- linux-5110/drivers/video/sis/init301.c +++ linux-10010/drivers/video/sis/init301.c @@ -2983,7 +2983,7 @@ SiS_GetCRT2Data301(SiS_Private *SiS_Pr, USHORT RefreshRateTableIndex, PSIS_HW_DEVICE_INFO HwDeviceExtension) { - USHORT tempax,tempbx,modeflag; + USHORT tempax=0,tempbx=0,modeflag; USHORT resinfo; USHORT CRT2Index,ResIndex; const SiS_LCDDataStruct *LCDPtr = NULL; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |