diff options
author | Benjamin Franzke <benjaminfranzke@gmail.com> | 2020-02-12 20:51:44 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@gmail.com> | 2020-02-15 11:07:11 +0100 |
commit | f51873b65cb766eb7ade752de912f1ddaf640456 (patch) | |
tree | a004e6c0816ad39d490e14c5468ad25d631c375b /NEWS | |
parent | dafca5f4a287d04eaf5e886a07f7f341a9a02456 (diff) | |
download | pa-sink-ctl-f51873b65cb766eb7ade752de912f1ddaf640456.tar.gz pa-sink-ctl-f51873b65cb766eb7ade752de912f1ddaf640456.tar.bz2 pa-sink-ctl-f51873b65cb766eb7ade752de912f1ddaf640456.zip |
unix_signal: Fix warnings and notes
Doesn't happen on linux, as we have signalfd there, but
would be triggered for other operating systems.
warning: missing braces around initializer [-Wmissing-braces]
sigaction(signum, &(struct sigaction){handler}, NULL);
^
unix_signal.c:130:39: note: (near initialization for '(anonymous)')
unix_signal.c:130:29: warning: missing initializer for field 'sa_mask' of 'struct sigaction' [-Wmissing-field-initializers]
sigaction(signum, &(struct sigaction){handler}, NULL);
^
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions