From: Alain Spineux Date: Wed, 31 May 2023 16:53:38 +0000 (+0200) Subject: tweak compat.ccp remove dead code X-Git-Tag: Beta-15.0.0~133 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=687ffdaecf1cf73d23c6662e3478b14f7214517a;p=thirdparty%2Fbacula.git tweak compat.ccp remove dead code --- diff --git a/bacula/src/win32/compat/compat.cpp b/bacula/src/win32/compat/compat.cpp index bc45fe103..0e04c80f5 100644 --- a/bacula/src/win32/compat/compat.cpp +++ b/bacula/src/win32/compat/compat.cpp @@ -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);