From 3efb1587549e82a25610bc96208d42f40f49fd4b Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Fri, 2 Feb 2007 11:27:22 +0000 Subject: [PATCH] Code clean-up on aisle nana! Well, barely any code was touched here actually... 1) Fixed a few minor warnings 2) Removed MM build configs from geoip 3) Made sure that every project and build config had its Character Set set to Multi-Byte and that Detect 64-Bit Portability Issues was set to No. --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40431 --- core/AdminCache.cpp | 2 +- core/msvc8/sourcemod_mm.vcproj | 6 +- core/svn_version.h | 22 +-- extensions/geoip/msvc8/geoip.sln | 6 - extensions/geoip/msvc8/geoip.vcproj | 162 +--------------------- extensions/threader/msvc8/threader.vcproj | 10 +- public/sample_ext/msvc8/sdk.vcproj | 16 ++- sourcepawn/compiler/msvc8/spcomp.vcproj | 8 +- sourcepawn/compiler/sc1.c | 3 +- sourcepawn/compiler/svn_version.h | 22 +-- sourcepawn/jit/x86/msvc8/jit-x86.vcproj | 6 +- sourcepawn/jit/x86/svn_version.h | 6 +- 12 files changed, 59 insertions(+), 210 deletions(-) diff --git a/core/AdminCache.cpp b/core/AdminCache.cpp index 58478ad0..fa6bcc9d 100644 --- a/core/AdminCache.cpp +++ b/core/AdminCache.cpp @@ -823,7 +823,7 @@ void AdminCache::DumpAdminCache(int cache_flags, bool rebuild) /* If we only requested an admin rebuild, re-use the internal memory */ if (((cache_flags & ADMIN_CACHE_ADMINS) == ADMIN_CACHE_ADMINS) - && (cache_flags & (1<<2) != (1<<2))) + && ((cache_flags & (1<<2)) != (1<<2))) { InvalidateAdminCache(true); } diff --git a/core/msvc8/sourcemod_mm.vcproj b/core/msvc8/sourcemod_mm.vcproj index 7fdd69da..a5e95c10 100644 --- a/core/msvc8/sourcemod_mm.vcproj +++ b/core/msvc8/sourcemod_mm.vcproj @@ -1,7 +1,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -