From 8e3947607bc07f0f181c3b0d8d677e3af0acbf8c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 19 Mar 2017 10:56:40 +0100 Subject: [PATCH] main: eliminate another local dummy variable --- src/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); } -- 2.30.2