]> diplodocus.org Git - nmh/blobdiff - sbr/path.c
sh scripts: Remove `else' after exit at end of then-block.
[nmh] / sbr / path.c
index 3038df4..bf9283a 100644 (file)
@@ -78,9 +78,8 @@ expath (char *name, int flag)
     ep = pwds + strlen (pwds);
     if ((cp = strrchr(pwds, '/')) == NULL)
        cp = ep;
-    else
-       if (cp == pwds)
-           cp++;
+    else if (cp == pwds)
+        cp++;
 
     if (has_prefix(name, CWD))
        name += LEN(CWD);