From 7d0eacc3bbccee78a8147b2f468d9f9383ba2fd6 Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Mon, 17 Dec 2018 14:07:27 +0900 Subject: [PATCH] axfer: fix no return statement in print_help() function A function, print_help() in xfer module is defined to return integer value, however this is useledd. This commit fixes it. Fixes: 908ff69be246 ('axfer: print help text of transfer subcommand just for common options') Signed-off-by: Takashi Sakamoto Signed-off-by: Takashi Iwai --- axfer/xfer-options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axfer/xfer-options.c b/axfer/xfer-options.c index b81bcb2..8394d8a 100644 --- a/axfer/xfer-options.c +++ b/axfer/xfer-options.c @@ -25,7 +25,7 @@ enum no_short_opts { OPT_PROCESS_ID_FILE, }; -static int print_help() +static void print_help() { printf( "Usage:\n"