From: Kees van Reeuwijk Date: Fri, 8 Feb 2013 03:32:36 +0000 (+0000) Subject: iproute2: add a missing return statement X-Git-Tag: v3.8.0~3^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecf52428daf64a8484630e60d7e6c2b310abdbe8;p=thirdparty%2Fiproute2.git iproute2: add a missing return statement Since do_help() has to return an int to fit in the table of commands, it should actually return an int. This patch lets it do so. Signed-off-by: Kees van Reeuwijk --- diff --git a/ip/ip.c b/ip/ip.c index 632d2717b..c3ff62704 100644 --- a/ip/ip.c +++ b/ip/ip.c @@ -57,6 +57,7 @@ static void usage(void) static int do_help(int argc, char **argv) { usage(); + return 0; } static const struct cmd {