diff --git a/src/jrd/os/win32/ibinitdll.cpp b/src/jrd/os/win32/ibinitdll.cpp index 1d4c1c37c8..bbb31cdf94 100644 --- a/src/jrd/os/win32/ibinitdll.cpp +++ b/src/jrd/os/win32/ibinitdll.cpp @@ -23,25 +23,9 @@ #include "firebird.h" #include -#include "../jrd/common.h" -#include "../../utilities/install/registry.h" -#include "../jrd/jrd_proto.h" -#include "../jrd/thread_proto.h" -BOOL WINAPI DllMain(HINSTANCE h, DWORD reason, LPVOID reserved) +BOOL WINAPI DllMain(HINSTANCE /*h*/, DWORD /*reason*/, LPVOID /*reserved*/) { - switch (reason) { - - case DLL_PROCESS_DETACH: -#ifdef EMBEDDED - JRD_shutdown_all(false); -#endif - break; - - default: - break; - } - return TRUE; }