From 001601c74629de90044df4ab6fbd781c6bedcd1a Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Fri, 15 Jan 2016 18:02:15 -0500 Subject: more polishing --- src/client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client.c') diff --git a/src/client.c b/src/client.c index 37f9c23..0a131d1 100644 --- a/src/client.c +++ b/src/client.c @@ -210,7 +210,7 @@ void sig_rt_0_handler(int s, siginfo_t *info, void *v) case REQ_KICK: { print_all(from_parent); - union sigval junk; + union sigval junk = { 0 }; /* the master still expects an ACK */ sigqueue(getppid(), SIGRTMIN+1, junk); exit(EXIT_SUCCESS); @@ -269,14 +269,14 @@ void sig_rt_0_handler(int s, siginfo_t *info, void *v) request_complete = 1; /* signal the master that we're done */ - union sigval junk; + union sigval junk = { 0 }; sigqueue(getppid(), SIGRTMIN+1, junk); } static void sigpipe_handler(int s) { (void) s; - union sigval junk; + union sigval junk = { 0 }; /* * necessary in case we get SIGPIPE in our SIGRTMIN+1 handler, * the master expects a response from us -- cgit v1.1