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:
parent
c550f7a9b8
commit
7c9337dae8
@ -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; \
|
||||
|
Loading…
Reference in New Issue
Block a user