summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2012-12-19 21:58:05 +0200
committerMichael Widenius <monty@askmonty.org>2012-12-19 21:58:05 +0200
commit35b60208359a8c67fa773e733927d16046b416c9 (patch)
treec81375280357b4173e36c916ccd35011377b3ab7 /client
parentfef08da3e742fb54d1b827f117d4bbe9aa554b5f (diff)
downloadmariadb-git-35b60208359a8c67fa773e733927d16046b416c9.tar.gz
Fixed some compiler warnings
client/mysqldump.c: Removed compiler warning extra/yassl/taocrypt/include/pwdbased.hpp: Removed compiler warning (iterations is always unsigned) support-files/compiler_warnings.supp: Ignore warnings from groff
Diffstat (limited to 'client')
-rw-r--r--client/mysqldump.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 284ea1e760a..46d152f7ed1 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -1914,7 +1914,9 @@ static void print_xml_row(FILE *xml_file, const char *row_name,
const char *str_create)
{
uint i;
+#ifndef DBUG_OFF
my_bool body_found= 0;
+#endif
char *create_stmt_ptr= NULL;
ulong create_stmt_len= 0;
MYSQL_FIELD *field;
@@ -1932,7 +1934,9 @@ static void print_xml_row(FILE *xml_file, const char *row_name,
{
create_stmt_ptr= (*row)[i];
create_stmt_len= lengths[i];
+#ifndef DBUG_OFF
body_found= 1;
+#endif
}
else
{