From: Takashi Sakamoto Date: Mon, 17 Dec 2018 05:07:27 +0000 (+0900) Subject: axfer: fix no return statement in print_help() function X-Git-Tag: v1.1.8~12 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=7d0eacc3bbccee78a8147b2f468d9f9383ba2fd6;p=alsa-utils.git 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 --- 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"