summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStaale Smedseng <staale.smedseng@sun.com>2009-09-23 15:21:29 +0200
committerStaale Smedseng <staale.smedseng@sun.com>2009-09-23 15:21:29 +0200
commit6a89842e3642729fbac20a92a1655452f4d45487 (patch)
treebe24d592bff31a5a07c28cb307d81ed4f01b925a /include
parentd49913877064778d8301c7bbd610238b3f5422cd (diff)
downloadmariadb-git-6a89842e3642729fbac20a92a1655452f4d45487.tar.gz
Bug #43414 Parenthesis (and other) warnings compiling MySQL
with gcc 4.3.2 Cleaning up warnings not present in 5.0.
Diffstat (limited to 'include')
-rw-r--r--include/my_dbug.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/my_dbug.h b/include/my_dbug.h
index 474a46f29dd..0ba72b2210d 100644
--- a/include/my_dbug.h
+++ b/include/my_dbug.h
@@ -137,13 +137,13 @@ extern FILE *_db_fp_(void);
#define DBUG_EVALUATE_IF(keyword,a1,a2) (a2)
#define DBUG_PRINT(keyword,arglist) do { } while(0)
#define DBUG_PUSH(a1)
-#define DBUG_SET(a1)
-#define DBUG_SET_INITIAL(a1)
+#define DBUG_SET(a1) do { } while(0)
+#define DBUG_SET_INITIAL(a1) do { } while(0)
#define DBUG_POP()
#define DBUG_PROCESS(a1)
#define DBUG_SETJMP(a1) setjmp(a1)
#define DBUG_LONGJMP(a1) longjmp(a1)
-#define DBUG_DUMP(keyword,a1,a2)
+#define DBUG_DUMP(keyword,a1,a2) do { } while(0)
#define DBUG_END()
#define DBUG_ASSERT(A) do { } while(0)
#define DBUG_LOCK_FILE