From 1e70b04f485cad7af1061f115f576233fe7671e9 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Fri, 9 May 2008 08:22:39 +0000 Subject: [PATCH] Removed odd debug code, err, in CrazyDebug of all places --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402131 --- core/CrazyDebugger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/CrazyDebugger.cpp b/core/CrazyDebugger.cpp index c2fb88ba..9f97c6a3 100644 --- a/core/CrazyDebugger.cpp +++ b/core/CrazyDebugger.cpp @@ -42,7 +42,7 @@ bool HookImportAddrTable(BYTE *base, const char *func, DWORD hookfunc, char *err if (dos->e_magic != IMAGE_DOS_SIGNATURE) { UTIL_Format(err, maxlength, "%s", "Could not detect valid DOS signature"); - return (err == NULL) ? true : false; + return false; } IMAGE_NT_HEADERS *nt = (IMAGE_NT_HEADERS *)(base + dos->e_lfanew);