From fc40a731d23f893be2cb7699d7e078568d4c210c Mon Sep 17 00:00:00 2001
From: Roland McGrath <roland@gnu.org>
Date: Tue, 20 Oct 1998 08:38:41 +0000
Subject: Add braces to silence gcc warnings.

---
 ftpfs/ftpfs.c | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

(limited to 'ftpfs/ftpfs.c')

diff --git a/ftpfs/ftpfs.c b/ftpfs/ftpfs.c
index c3dd0d14..646f9b1b 100644
--- a/ftpfs/ftpfs.c
+++ b/ftpfs/ftpfs.c
@@ -328,15 +328,17 @@ netfs_append_args (char **argz, size_t *argz_len)
 
   mutex_lock (&debug_lock);
   if (ftpfs_ftp_hooks.cntl_debug && debug_stream)
-    if (debug_stream != stderr)
-      {
-	char *rep;
-	asprintf (&rep, "--debug=%s", debug_stream_name);
-	err = argz_add (argz, argz_len, rep);
-	free (rep);
-      }
-    else
-      err = argz_add (argz, argz_len, "--debug");
+    {
+      if (debug_stream != stderr)
+	{
+	  char *rep;
+	  asprintf (&rep, "--debug=%s", debug_stream_name);
+	  err = argz_add (argz, argz_len, rep);
+	  free (rep);
+	}
+      else
+	err = argz_add (argz, argz_len, "--debug");
+    }
   mutex_unlock (&debug_lock);
 
   if (ftpfs->params.name_timeout != DEFAULT_NAME_TIMEOUT)
-- 
cgit v1.2.3