summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2010-07-31 19:06:44 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2010-07-31 19:06:44 +0000
commit3d25197a1c154ec05ce16ef5d0367e96143dae1c (patch)
tree6695e6a8286da0d443c5844b373987b5a43dee9e /Source/Core/Common
parent0e83d523827ce7acb074e02b31d9c2d14bd6d280 (diff)
Avoid always-true and signed/unsigned comparisons.
Make empty while loops a little more obvious with a {} suffix. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6019 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common')
-rw-r--r--Source/Core/Common/Src/Log.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/Log.h b/Source/Core/Common/Src/Log.h
index 7a859448a3..efb9225c90 100644
--- a/Source/Core/Common/Src/Log.h
+++ b/Source/Core/Common/Src/Log.h
@@ -140,8 +140,8 @@ void GenericLogC(int level, int type,
#define _dbg_update_() ;
#ifndef _dbg_assert_
-#define _dbg_assert_(_t_, _a_) ;
-#define _dbg_assert_msg_(_t_, _a_, _desc_, ...) ;
+#define _dbg_assert_(_t_, _a_) {}
+#define _dbg_assert_msg_(_t_, _a_, _desc_, ...) {}
#endif // dbg_assert
#endif // MAX_LOGLEVEL DEBUG