diff options
author | Benjamin Franzke <benjaminfranzke@gmail.com> | 2020-02-12 20:51:44 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@gmail.com> | 2020-02-12 20:55:23 +0100 |
commit | 6453240a67c7bc9ce2424e6b17c9c8dc26d79c24 (patch) | |
tree | 8e5a3de55991bdf30b88c4f2ccf3f4b7bccb1ca2 /src/config.c | |
parent | cb8c07934ae4a4eec0ab60d44b60a05ead3a82a0 (diff) | |
download | pa-sink-ctl-6453240a67c7bc9ce2424e6b17c9c8dc26d79c24.tar.gz pa-sink-ctl-6453240a67c7bc9ce2424e6b17c9c8dc26d79c24.tar.bz2 pa-sink-ctl-6453240a67c7bc9ce2424e6b17c9c8dc26d79c24.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 'src/config.c')
0 files changed, 0 insertions, 0 deletions