build fixes for -Werror (11745920)

parent 8ae716e9
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
#ifdef HAVE_OPENSSL #ifdef HAVE_OPENSSL
#ifndef DBUG_OFF
static void static void
report_errors(SSL* ssl) report_errors(SSL* ssl)
{ {
...@@ -31,9 +33,7 @@ report_errors(SSL* ssl) ...@@ -31,9 +33,7 @@ report_errors(SSL* ssl)
const char *file; const char *file;
const char *data; const char *data;
int line, flags; int line, flags;
#ifndef DBUG_OFF
char buf[512]; char buf[512];
#endif
DBUG_ENTER("report_errors"); DBUG_ENTER("report_errors");
...@@ -51,6 +51,8 @@ report_errors(SSL* ssl) ...@@ -51,6 +51,8 @@ report_errors(SSL* ssl)
DBUG_VOID_RETURN; DBUG_VOID_RETURN;
} }
#endif
size_t vio_ssl_read(Vio *vio, uchar* buf, size_t size) size_t vio_ssl_read(Vio *vio, uchar* buf, size_t size)
{ {
......
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