]> diplodocus.org Git - nmh/commitdiff
Don't `else' after goto. Simplify control flow.
authorRalph Corderoy <ralph@inputplus.co.uk>
Thu, 20 Oct 2016 23:05:50 +0000 (00:05 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Fri, 21 Oct 2016 08:58:40 +0000 (09:58 +0100)
uip/mhlsbr.c

index 35e918bbd33c75f088fb44e84385a33c4f8e7f40..81704d0ed58f9567dc9470ee814ca70b80957996 100644 (file)
@@ -560,8 +560,7 @@ mhl_format (char *file, int length, int width)
                && dev == st.st_dev
                && ino == st.st_ino)
            goto out;
                && dev == st.st_dev
                && ino == st.st_ino)
            goto out;
-       else
-           free_queue (&fmthd, &fmttl);
+        free_queue (&fmthd, &fmttl);
     }
 
     if ((fp = fopen (etcpath (file), "r")) == NULL)
     }
 
     if ((fp = fopen (etcpath (file), "r")) == NULL)