mirror of
https://github.com/MariaDB/server.git
synced 2026-04-24 09:15:30 +02:00
build fixes for -Werror (11745920)
This commit is contained in:
parent
8ae716e9a2
commit
20791d83de
1 changed files with 4 additions and 2 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue