]> diplodocus.org Git - nmh/blobdiff - sbr/lock_file.c
sh scripts: Remove `else' after exit at end of then-block.
[nmh] / sbr / lock_file.c
index c3dbbd9..8b0a121 100644 (file)
@@ -628,7 +628,9 @@ lockname (const char *file, struct lockinfo *li, int isnewlock)
 
     snprintf (bp, sizeof(li->curlock) - bplen, "%s.lock", cp);
 
-#if !defined(HAVE_LIBLOCKFILE)
+#if defined(HAVE_LIBLOCKFILE)
+    NMH_UNUSED(isnewlock);
+#else
     /*
      * If this is for a new lock, create a name for
      * the temporary lock file for lockit()