event: fix fallthrough in spdk_app_parse_args

This issue was only seen in release builds since the
break was hidden under DEBUG.  This seems to indicate
we aren't compiling release builds with -werror in
CI.

Fixes: 8a76c2484 (event/app: allow to enable log flag...)

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ia5766af1d4a22f9269dd18c47d408a9d05b3ceb1
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4714
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
Jim Harris 2020-10-15 18:13:55 +00:00 committed by Tomasz Zawadzki
parent 846bb4b9e1
commit eecc14df19

View File

@ -972,8 +972,8 @@ spdk_app_parse_args(int argc, char **argv, struct spdk_app_opts *opts,
}
#ifdef DEBUG
opts->print_level = SPDK_LOG_DEBUG;
break;
#endif
break;
case HUGE_UNLINK_OPT_IDX:
opts->unlink_hugepage = true;
break;