event/app: Fix warning about unused value.
Issue: app.c:700:7: warning: Although the value stored to 'rc' is used in the enclosing expression, the value is never actually read from 'rc' if ((rc = app_setup_signal_handlers(opts)) != 0) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: yidong0635 <dongx.yi@intel.com> Change-Id: I4912d37c8300c88afc7668b792039683addc94c0 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4822 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
2a53883af9
commit
5c91e9d9e4
@ -487,7 +487,7 @@ spdk_app_start(struct spdk_app_opts *opts, spdk_msg_fn start_fn,
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((rc = app_setup_signal_handlers(opts)) != 0) {
|
if (app_setup_signal_handlers(opts) != 0) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user