From d655ca3f04bf053bcae640096dfcc62bdcaa2170 Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Sun, 18 May 2008 22:05:49 -0700 Subject: [PATCH] Removed an unused variable. --- src/avp/win95/pcmenus.cpp | 1 - src/avp/win95/winmain.c | 1 - src/win95/io.c | 42 --------------------------------------- 3 files changed, 44 deletions(-) diff --git a/src/avp/win95/pcmenus.cpp b/src/avp/win95/pcmenus.cpp index 9034ae5..f4a12d9 100644 --- a/src/avp/win95/pcmenus.cpp +++ b/src/avp/win95/pcmenus.cpp @@ -46,7 +46,6 @@ extern "C" extern void DrawInternationalizedString(MENU_TEXT_ITEM *itemPtr, int highlighted); extern void DrawMenuBackdrop(void); - extern void (*UpdateScreen[]) (void); extern int IDemandSelect(void); // not in any header file!!! /**********************/ diff --git a/src/avp/win95/winmain.c b/src/avp/win95/winmain.c index a743825..25edfbf 100644 --- a/src/avp/win95/winmain.c +++ b/src/avp/win95/winmain.c @@ -74,7 +74,6 @@ extern int PrintDebuggingText(const char* t, ...); */ extern int VideoMode; -extern void (*UpdateScreen[]) (void); extern DISPLAYBLOCK* ActiveBlockList[]; extern SCREENDESCRIPTORBLOCK ScreenDescriptorBlock; extern void (*SetVideoMode[]) (void); diff --git a/src/win95/io.c b/src/win95/io.c index 44986d2..ea1789b 100644 --- a/src/win95/io.c +++ b/src/win95/io.c @@ -657,48 +657,6 @@ void FrameCounterHandler(void) RouteFinder_CallsThisFrame=0; } -/* - - This jump table has been provided - solely to ensure compatibility with - DOS and other versions. - -*/ - -void (*UpdateScreen[]) (void) = { - - FlipBuffers, - FlipBuffers, - FlipBuffers, - FlipBuffers, - - FlipBuffers, - FlipBuffers, - FlipBuffers, - FlipBuffers, - - FlipBuffers, - FlipBuffers, - FlipBuffers, - FlipBuffers, - - FlipBuffers, - FlipBuffers, - FlipBuffers, - FlipBuffers, - - FlipBuffers, - FlipBuffers, - FlipBuffers, - FlipBuffers, - - FlipBuffers, - FlipBuffers, - FlipBuffers, - FlipBuffers - -}; - /* Wait for Return Key