[PATCH][TRIVIAL] initialise variables in SiS_GetCRT2Data301()

From: Rik van Riel
Date: Mon Oct 13 2003 - 11:23:50 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/