1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 19:21:53 +03:00

basic: mark unused variable as such

This commit is contained in:
Thomas Hindoe Paaboel Andersen 2016-02-23 19:21:54 +01:00
parent c550f7a9b8
commit 7c9337dae8

View File

@ -45,7 +45,7 @@ static inline void block_signals_reset(sigset_t *ss) {
}
#define BLOCK_SIGNALS(...) \
_cleanup_(block_signals_reset) sigset_t _saved_sigset = ({ \
_cleanup_(block_signals_reset) _unused_ sigset_t _saved_sigset = ({ \
sigset_t t; \
assert_se(sigprocmask_many(SIG_BLOCK, &t, __VA_ARGS__, -1) >= 0); \
t; \