diff options
author | Tatjana Azundris Nuernberg <tatjana.nuernberg@oracle.com> | 2011-05-27 11:02:10 +0100 |
---|---|---|
committer | Tatjana Azundris Nuernberg <tatjana.nuernberg@oracle.com> | 2011-05-27 11:02:10 +0100 |
commit | c111ca4e523baf239618ec093300047a68a89fbd (patch) | |
tree | 84df4de21ff655ddc2e6500aa6618a32334f286f /vio | |
parent | 6a95f23bd2753f290fb2b79962b03840c8870f83 (diff) | |
download | mariadb-git-c111ca4e523baf239618ec093300047a68a89fbd.tar.gz |
build fixes for -Werror (11745920)
Diffstat (limited to 'vio')
-rw-r--r-- | vio/viossl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vio/viossl.c b/vio/viossl.c index 290abf788c2..49d442f32aa 100644 --- a/vio/viossl.c +++ b/vio/viossl.c @@ -24,6 +24,8 @@ #ifdef HAVE_OPENSSL +#ifndef DBUG_OFF + static void report_errors(SSL* ssl) { @@ -31,9 +33,7 @@ report_errors(SSL* ssl) const char *file; const char *data; int line, flags; -#ifndef DBUG_OFF char buf[512]; -#endif DBUG_ENTER("report_errors"); @@ -51,6 +51,8 @@ report_errors(SSL* ssl) DBUG_VOID_RETURN; } +#endif + size_t vio_ssl_read(Vio *vio, uchar* buf, size_t size) { |