Remove code which has been #if 0-ed for 11 years from DOSCONF_Device and DOSCONF_Install. (RESEND)

Gerald Pfeifer gerald at pfeifer.com
Mon May 24 14:33:11 CDT 2010


An alternate patch would be putting #if 0 around the first occurrence
of loadhigh, too, but this code has been marked dead for more than 11
years, so I really think it can / should go?

Gerald

---
 dlls/krnl386.exe16/dosconf.c |   15 ++-------------
 1 files changed, 2 insertions(+), 13 deletions(-)

diff --git a/dlls/krnl386.exe16/dosconf.c b/dlls/krnl386.exe16/dosconf.c
index a1500b7..70e8d1b 100644
--- a/dlls/krnl386.exe16/dosconf.c
+++ b/dlls/krnl386.exe16/dosconf.c
@@ -145,20 +145,15 @@ static int DOSCONF_JumpToEntry(char **pconfline, char separator)
 
 static int DOSCONF_Device(char **confline)
 {
-    int loadhigh = 0;
-
     *confline += 6; /* strlen("DEVICE") */
     if (!(strncasecmp(*confline, "HIGH", 4)))
     {
-	loadhigh = 1;
 	*confline += 4;
 	/* FIXME: get DEVICEHIGH parameters if avail ? */
     }
     if (!(DOSCONF_JumpToEntry(confline, '='))) return 0;
     TRACE("Loading device '%s'\n", *confline);
-#if 0
-    DOSMOD_LoadDevice(*confline, loadhigh);
-#endif
+
     return 1;
 }
 
@@ -236,16 +231,10 @@ static int DOSCONF_Files(char **confline)
 
 static int DOSCONF_Install(char **confline)
 {
-#if 0
-    int loadhigh = 0;
-#endif
-
     *confline += 7; /* strlen("INSTALL") */
     if (!(DOSCONF_JumpToEntry(confline, '='))) return 0;
     TRACE( "Installing '%s'\n", *confline );
-#if 0
-    DOSMOD_Install(*confline, loadhigh);
-#endif
+
     return 1;
 }
 
-- 
1.6.6.2



More information about the wine-patches mailing list