From patchwork Fri Feb 8 13:32:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v2,1/5] iproute2: add a missing return statement Date: Fri, 08 Feb 2013 03:32:36 -0000 From: Kees van Reeuwijk X-Patchwork-Id: 219155 Message-Id: To: netdev@vger.kernel.org From: Kees van Reeuwijk 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 --- ip.c | 1 + -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/ip/ip.c b/ip/ip.c index 632d271..c3ff627 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 {