Commit c25d8e74 authored by Michael Widenius's avatar Michael Widenius

Fixed compiler warnings

parent f7be6360
...@@ -173,7 +173,7 @@ void my_print_stacktrace(uchar* stack_bottom __attribute__((unused)), ...@@ -173,7 +173,7 @@ void my_print_stacktrace(uchar* stack_bottom __attribute__((unused)),
my_safe_printf_stderr("%s", my_safe_printf_stderr("%s",
"Error when traversing the stack, stack appears corrupt.\n"); "Error when traversing the stack, stack appears corrupt.\n");
else else
my_safe_printf_stderr("%s" my_safe_printf_stderr("%s",
"Please read " "Please read "
"http://dev.mysql.com/doc/refman/5.1/en/resolve-stack-dump.html\n" "http://dev.mysql.com/doc/refman/5.1/en/resolve-stack-dump.html\n"
"and follow instructions on how to resolve the stack trace.\n" "and follow instructions on how to resolve the stack trace.\n"
......
...@@ -741,7 +741,6 @@ char *opt_logname, *opt_slow_logname; ...@@ -741,7 +741,6 @@ char *opt_logname, *opt_slow_logname;
static volatile sig_atomic_t kill_in_progress; static volatile sig_atomic_t kill_in_progress;
#ifdef HAVE_STACKTRACE #ifdef HAVE_STACKTRACE
static my_bool opt_do_pstack;
my_bool opt_stack_trace; my_bool opt_stack_trace;
#endif /* HAVE_STACKTRACE */ #endif /* HAVE_STACKTRACE */
my_bool opt_expect_abort= 0; my_bool opt_expect_abort= 0;
......
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