From: Max Kellermann Date: Sun, 19 Mar 2017 09:56:40 +0000 (+0100) Subject: main: eliminate another local dummy variable X-Git-Tag: v0.26~38 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8e3947607bc07f0f181c3b0d8d677e3af0acbf8c;p=ncmpc.git main: eliminate another local dummy variable --- diff --git a/src/main.c b/src/main.c index 6de16e5..85548be 100644 --- a/src/main.c +++ b/src/main.c @@ -98,8 +98,7 @@ catch_sigint(gcc_unused int sig) static void catch_sigcont(gcc_unused int sig) { - char irrelevant = 'a'; - if (1 != write(sigwinch_pipes[1], &irrelevant, 1)) + if (1 != write(sigwinch_pipes[1], "", 1)) exit(EXIT_FAILURE); }