mirror of
https://github.com/php/php-src.git
synced 2024-11-23 01:44:06 +08:00
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:
parent
b2ff871e38
commit
150599e5ac
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user