aboutsummaryrefslogtreecommitdiff
path: root/TestDLL
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2019-11-18 21:36:31 +0100
committerToni Uhlig <matzeton@googlemail.com>2019-11-18 21:36:31 +0100
commita5e16f20141b3b5ce0bc19a6ae233e3fecb15a82 (patch)
tree087c642c63954a21ad655099a30463116dda00d7 /TestDLL
parent01384e8415729b0522553bc5550ef0f8a1969531 (diff)
removed more unused code
Diffstat (limited to 'TestDLL')
-rw-r--r--TestDLL/dllmain.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/TestDLL/dllmain.cpp b/TestDLL/dllmain.cpp
index d6af3d5..a627e39 100644
--- a/TestDLL/dllmain.cpp
+++ b/TestDLL/dllmain.cpp
@@ -140,17 +140,6 @@ void APIENTRY LibEntry(struct HuntCtx * HuntCtx)
if (firstEntry) {
firstEntry = false;
-#if 0
- if (!resolve_all_symbols()) {
- MessageBoxA(NULL,
- "COULD NOT RESOLVE ALL DYNAMIC DLL SYMBOLS !!!",
- "TestDLL Notification",
- MB_OK | MB_ICONINFORMATION);
- return;
- }
- void *bla = malloc(10);
- free(bla);
-#endif
HINSTANCE addr = GetModuleHandle(NULL);
_CRT_INIT(addr, DLL_PROCESS_ATTACH, NULL);
@@ -192,11 +181,6 @@ void APIENTRY LibEntry(struct HuntCtx * HuntCtx)
if (!pEnt->IsInitialized() || pEnt->IsGarbage()) {
continue;
}
-#if 0
- if (pEnt->GetFlags() != (ENTITY_FLAG_CASTSHADOW | ENTITY_FLAG_SEND_RENDER_EVENT)) {
- continue;
- }
-#endif
const char *name = pEnt->GetName();
if (strlen(name) < 4) {
continue;