]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
tweak compat.ccp remove dead code
authorAlain Spineux <alain@baculasystems.com>
Wed, 31 May 2023 16:53:38 +0000 (18:53 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:57:02 +0000 (13:57 +0200)
bacula/src/win32/compat/compat.cpp

index bc45fe1032bcbadf390418a512818f9dc615db6e..0e04c80f5f03b351ddc696245a4193f3d326a8be 100644 (file)
@@ -2198,18 +2198,6 @@ winver::winver(void)
     snprintf(WIN_VERSION, sizeof(WIN_VERSION), "%s %lu.%lu.%lu",
              platform, osvinfo.dwMajorVersion, osvinfo.dwMinorVersion, osvinfo.dwBuildNumber);
 
-#if 0
-    HANDLE h = CreateFile("G:\\foobar", GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, 0, NULL);
-    CloseHandle(h);
-#endif
-#if 0
-    BPIPE *b = open_bpipe("ls -l", 10, "r");
-    char buf[1024];
-    while (!feof(b->rfd)) {
-        fgets(buf, sizeof(buf), b->rfd);
-    }
-    close_bpipe(b);
-#endif
 }
 
 BOOL CreateChildProcess(VOID);