Skip to content

Commit

Permalink
Remove a (MSVC only) debug() line that spammed way too much.
Browse files Browse the repository at this point in the history
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/2.3@11321 4a71c877-e1ca-e34f-864e-861f7616d084
(cherry picked from commit a2a11fc)
  • Loading branch information
buginator committed Oct 19, 2010
1 parent b14ac44 commit ccd5555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/framework/string_ext.h
Expand Up @@ -50,7 +50,7 @@ static inline char *strdup2(const char *s, char *fileName, int line)
(void)debug_MEMCHKOFF();
result = (char*)malloc(strlen(s) + 1);
(void)debug_MEMCHKON();
debug(LOG_NEVER, "allocator toggled in %s %d",fileName,line);

if (result == (char*)0)
return (char*)0;
strcpy(result, s);
Expand Down

0 comments on commit ccd5555

Please sign in to comment.