build fixes for -Werror (11745920)

This commit is contained in:
Tatjana Azundris Nuernberg 2011-05-27 11:02:10 +01:00
commit 20791d83de

View file

@ -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)
{