heimdal:roken: arg_match_long() should return a value
authorStefan Metzmacher <metze@samba.org>
Fri, 30 Jan 2009 17:02:21 +0000 (18:02 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 26 Mar 2009 08:54:51 +0000 (09:54 +0100)
This should fix a build problem on IRIX.

metze

lib/roken/getarg.c

index 8fbdcf6805527300a7f128c8b4a7dfa8901d9467..60b0f645afc085899d6d0937f805f91056b6897e 100644 (file)
@@ -475,6 +475,9 @@ arg_match_long(struct getargs *args, size_t num_args,
     default:
        abort ();
     }
+
+    /* not reached */
+    return ARG_ERR_NO_MATCH;
 }
 
 static int