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:
parent
846bb4b9e1
commit
eecc14df19
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user