1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

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.
This commit is contained in:
monty@mysql.com/nosik.monty.fi
2006-11-27 01:47:38 +02:00
parent 89570bf966
commit fa81a82e7f
97 changed files with 504 additions and 417 deletions

View File

@ -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);
}