Fixed a non-debug version compilation error and warning.

parent 9b9690df
...@@ -174,9 +174,7 @@ static CHARSET_INFO *charset_info= &my_charset_latin1; ...@@ -174,9 +174,7 @@ static CHARSET_INFO *charset_info= &my_charset_latin1;
#include "sslopt-vars.h" #include "sslopt-vars.h"
#ifndef DBUG_OFF
const char *default_dbug_option="d:t:o,/tmp/mysql.trace"; const char *default_dbug_option="d:t:o,/tmp/mysql.trace";
#endif
void tee_fprintf(FILE *file, const char *fmt, ...); void tee_fprintf(FILE *file, const char *fmt, ...);
void tee_fputs(const char *s, FILE *file); void tee_fputs(const char *s, FILE *file);
...@@ -1559,7 +1557,7 @@ static int com_server_help(String *buffer __attribute__((unused)), ...@@ -1559,7 +1557,7 @@ static int com_server_help(String *buffer __attribute__((unused)),
init_pager(); init_pager();
char last_char; char last_char;
int num_name, num_cat; int num_name= 0, num_cat= 0;
LINT_INIT(num_name); LINT_INIT(num_name);
LINT_INIT(num_cat); LINT_INIT(num_cat);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment