diff options
author | Davi Arnaut <davi.arnaut@oracle.com> | 2010-10-08 11:52:39 -0300 |
---|---|---|
committer | Davi Arnaut <davi.arnaut@oracle.com> | 2010-10-08 11:52:39 -0300 |
commit | f60106f82db102dd8e5161de6dea48c940e39efe (patch) | |
tree | cc80459f380661dd80e57ffaafccba0ef5662d77 /strings | |
parent | 3fdcf2060d85a14f39b59f9e59e3e2f842f2f8a5 (diff) | |
download | mariadb-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')
-rw-r--r-- | strings/my_vsnprintf.c | 2 |
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; } |