summaryrefslogtreecommitdiff
path: root/regex
diff options
context:
space:
mode:
authormonty@mysql.com/nosik.monty.fi <>2006-11-20 22:42:06 +0200
committermonty@mysql.com/nosik.monty.fi <>2006-11-20 22:42:06 +0200
commite82587980037d3c27d84411c332d812d47f424bd (patch)
treec8a26659fd67578dcb2edfa68c23c6ca4650fc4e /regex
parent0f455a81dc2060811498cf1e18059d4f2c7ecd87 (diff)
downloadmariadb-git-e82587980037d3c27d84411c332d812d47f424bd.tar.gz
Remove compiler warnings
(Mostly in DBUG_PRINT() and unused arguments) Fixed bug in query cache when used with traceing (--with-debug) Fixed memory leak in mysqldump Removed warnings from mysqltest scripts (replaced -- with #)
Diffstat (limited to 'regex')
-rw-r--r--regex/regexec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regex/regexec.c b/regex/regexec.c
index 88bcc02323d..338c1bfa7fe 100644
--- a/regex/regexec.c
+++ b/regex/regexec.c
@@ -15,7 +15,8 @@
#include "utils.h"
#include "regex2.h"
-static int nope = 0; /* for use in asserts; shuts lint up */
+/* for use in asserts */
+#define nope 0
/* macros for manipulating states, small version */
#define states long