diff options
author | monty@mysql.com/nosik.monty.fi <> | 2006-11-27 01:47:38 +0200 |
---|---|---|
committer | monty@mysql.com/nosik.monty.fi <> | 2006-11-27 01:47:38 +0200 |
commit | fa81a82e7f2d03a4f60b1783d578ca1abeddfae9 (patch) | |
tree | b29f99476834178f395c188e1c4d352dd106fc01 /plugin | |
parent | 89570bf966570ecce761e1fea2bb5d10db91f621 (diff) | |
download | mariadb-git-fa81a82e7f2d03a4f60b1783d578ca1abeddfae9.tar.gz |
Fixed a LOT of compiler warnings
Added missing DBUG_RETURN statements (in mysqldump.c)
Added missing enums
Fixed a lot of wrong DBUG_PRINT() statements, some of which could cause crashes
Removed usage of %lld and %p in printf strings as these are not portable or produces different results on different systems.
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/fulltext/plugin_example.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/fulltext/plugin_example.c b/plugin/fulltext/plugin_example.c index f09462f2d1a..4194f1df689 100644 --- a/plugin/fulltext/plugin_example.c +++ b/plugin/fulltext/plugin_example.c @@ -62,7 +62,7 @@ static long number_of_calls= 0; /* for SHOW STATUS, see below */ 1 failure (cannot happen) */ -static int simple_parser_plugin_init(void) +static int simple_parser_plugin_init(void *arg __attribute__((unused))) { return(0); } @@ -81,7 +81,7 @@ static int simple_parser_plugin_init(void) */ -static int simple_parser_plugin_deinit(void) +static int simple_parser_plugin_deinit(void *arg __attribute__((unused))) { return(0); } |