]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Fix LZO-enabled builds.
authorLudovic Courtès <ludo@gnu.org>
Sun, 27 Feb 2011 16:45:55 +0000 (17:45 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sun, 27 Feb 2011 16:45:55 +0000 (17:45 +0100)
libextra/gnutls_extra.c

index 4887053baf4213cd7d92941cfdb11b7fbc3663ff..1283763d1ca038a11f1a71bbd11d4d4204eb7e27 100644 (file)
@@ -132,12 +132,16 @@ gnutls_global_init_extra (void)
   /* Add the LZO compression method in the list of compression
    * methods.
    */
-  ret = _gnutls_add_lzo_comp ();
-  if (ret < 0)
-    {
-      gnutls_assert ();
-      return ret;
-    }
+  {
+    int ret;
+
+    ret = _gnutls_add_lzo_comp ();
+    if (ret < 0)
+      {
+       gnutls_assert ();
+       return ret;
+      }
+  }
 #endif