List:Commits« Previous MessageNext Message »
From:Tatjana Azundris Nuernberg Date:May 27 2011 10:02am
Subject:bzr commit into mysql-5.5 branch (tatjana.nuernberg:3407)
View as plain text  
#At file:///Users/tnurnberg/forest/11745920/55-11745920/ based on revid:anitha.gopi@stripped

 3407 Tatjana Azundris Nuernberg	2011-05-27
      build fixes for -Werror (11745920)

    modified:
      vio/viossl.c
=== modified file 'vio/viossl.c'
--- a/vio/viossl.c	2011-05-19 09:47:43 +0000
+++ b/vio/viossl.c	2011-05-27 10:02:10 +0000
@@ -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)
 {


Attachment: [text/bzr-bundle] bzr/tatjana.nuernberg@oracle.com-20110527100210-ocwi9edbdrlujdwc.bundle
Thread
bzr commit into mysql-5.5 branch (tatjana.nuernberg:3407) Tatjana Azundris Nuernberg27 May