summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib/roken/getarg.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal/lib/roken/getarg.c')
-rw-r--r--source4/heimdal/lib/roken/getarg.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/heimdal/lib/roken/getarg.c b/source4/heimdal/lib/roken/getarg.c
index 3884fa83d6..3168ccc53d 100644
--- a/source4/heimdal/lib/roken/getarg.c
+++ b/source4/heimdal/lib/roken/getarg.c
@@ -216,8 +216,8 @@ arg_printusage (struct getargs *args,
const char *progname,
const char *extra_string)
{
- return arg_printusage_i18n(args, num_args, "Usage",
- progname, extra_string, builtin_i18n);
+ arg_printusage_i18n(args, num_args, "Usage",
+ progname, extra_string, builtin_i18n);
}
void ROKEN_LIB_FUNCTION
@@ -478,6 +478,9 @@ arg_match_long(struct getargs *args, size_t num_args,
default:
abort ();
}
+
+ /* not reached */
+ return ARG_ERR_NO_MATCH;
}
static int