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.
This commit is contained in:
DanielEScherzer 2024-10-13 03:24:22 -07:00 committed by GitHub
parent b2ff871e38
commit 150599e5ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.