]> diplodocus.org Git - nmh/blobdiff - sbr/smatch.c
Fix invalid pointer arithmetic.
[nmh] / sbr / smatch.c
index 8ec6e3f2b3aae99b6a565d6f46a0ecf8cda162dc..802e4da06a541f8b9db37f7c35b02f79bfc7af6e 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * smatch.c -- match a switch (option)
+/* smatch.c -- match a switch (option)
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -43,5 +41,5 @@ smatch(const char *string, const struct swit *swp)
            firstone = AMBIGSW;
     }
 
-    return (firstone);
+    return firstone;
 }