diff -Ncr ./2df/init.c ./2d2/init.c *** ./2df/init.c 2005-06-03 09:10:31.000000000 +0800 --- ./2d2/init.c 2005-06-03 09:08:44.000000000 +0800 *************** *** 1164,1170 **** USHORT ModeNo,USHORT ModeIdIndex,USHORT RefreshRateTableIndex) { USHORT data,infoflag=0,modeflag; ! USHORT resindex ,xres; if(XGI_Pr->UseCustomMode) { modeflag = XGI_Pr->CModeFlag; --- 1164,1170 ---- USHORT ModeNo,USHORT ModeIdIndex,USHORT RefreshRateTableIndex) { USHORT data,infoflag=0,modeflag; ! USHORT resindex = 0,xres; if(XGI_Pr->UseCustomMode) { modeflag = XGI_Pr->CModeFlag; *************** *** 1374,1380 **** XGI_New_SetCRT1Group(XGI_Private *XGI_Pr, PXGI_HW_DEVICE_INFO HwInfo, USHORT ModeNo, USHORT ModeIdIndex) { ! USHORT StandTableIndex,RefreshRateTableIndex ; XGI_Pr->XGI_CRT1Mode = ModeNo; StandTableIndex = XGI_New_GetModePtr(XGI_Pr, ModeNo, ModeIdIndex); --- 1374,1380 ---- XGI_New_SetCRT1Group(XGI_Private *XGI_Pr, PXGI_HW_DEVICE_INFO HwInfo, USHORT ModeNo, USHORT ModeIdIndex) { ! USHORT StandTableIndex,RefreshRateTableIndex = 0 ; XGI_Pr->XGI_CRT1Mode = ModeNo; StandTableIndex = XGI_New_GetModePtr(XGI_Pr, ModeNo, ModeIdIndex);