From 150599e5ac8362b3dc7b9e729e296f2aa63969df Mon Sep 17 00:00:00 2001 From: DanielEScherzer Date: Sun, 13 Oct 2024 03:24:22 -0700 Subject: [PATCH] win32/dllmain.c: drop some unused code (#16353) The code block is guarded by `#if 0`, and even if it wasn't it is a switch that only contains breaks, i.e. it wouldn't actually do anything if enabled. --- win32/dllmain.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/win32/dllmain.c b/win32/dllmain.c index 6df644efa91..4ad94fe1e5f 100644 --- a/win32/dllmain.c +++ b/win32/dllmain.c @@ -33,25 +33,6 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID dummy) { BOOL ret = TRUE; -#if 0 /* prepared */ - switch (reason) - { - case DLL_PROCESS_ATTACH: - break; - case DLL_PROCESS_DETACH: - /* pass */ - break; - - case DLL_THREAD_ATTACH: - /* pass */ - break; - - case DLL_THREAD_DETACH: - /* pass */ - break; - } -#endif - #ifdef HAVE_LIBXML /* This imply that only LIBXML_STATIC_FOR_DLL is supported ATM. If that changes, this place will need some rework.