summaryrefslogtreecommitdiff
path: root/strings/my_vsnprintf.c
diff options
context:
space:
mode:
authorDavi Arnaut <davi.arnaut@oracle.com>2010-10-08 11:52:39 -0300
committerDavi Arnaut <davi.arnaut@oracle.com>2010-10-08 11:52:39 -0300
commitf60106f82db102dd8e5161de6dea48c940e39efe (patch)
treecc80459f380661dd80e57ffaafccba0ef5662d77 /strings/my_vsnprintf.c
parent3fdcf2060d85a14f39b59f9e59e3e2f842f2f8a5 (diff)
downloadmariadb-git-f60106f82db102dd8e5161de6dea48c940e39efe.tar.gz
Bug#45288: pb2 returns a lot of compilation warnings on linux
Fix assorted compiler warnings. sql/mysqld.cc: Do not declare max_page_size twice. If large pages support is enabled, the code expects the size in max_desired_page_size. storage/innobase/include/ibuf0ibuf.h: Remove trailing comma. Only present in C99. Approved by: Vasil (via IRC) storage/innobase/include/row0row.h: Remove trailing comma. Only present in C99. Approved by: Vasil (via IRC) strings/my_vsnprintf.c: No need to assert the obvious.
Diffstat (limited to 'strings/my_vsnprintf.c')
-rw-r--r--strings/my_vsnprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/my_vsnprintf.c b/strings/my_vsnprintf.c
index 1284203f739..e9786dacfdc 100644
--- a/strings/my_vsnprintf.c
+++ b/strings/my_vsnprintf.c
@@ -513,7 +513,7 @@ start:
arg_count= max(arg_count, arg_index);
goto start;
}
- DBUG_ASSERT(0);
+
return 0;
}