OSDN Git Service

axfer: fix no return statement in print_help() function
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 17 Dec 2018 05:07:27 +0000 (14:07 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 2 Jan 2019 10:23:36 +0000 (11:23 +0100)
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 <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
axfer/xfer-options.c

index b81bcb2..8394d8a 100644 (file)
@@ -25,7 +25,7 @@ enum no_short_opts {
        OPT_PROCESS_ID_FILE,
 };
 
-static int print_help()
+static void print_help()
 {
        printf(
 "Usage:\n"