Kill dead variables in signal_cb()

This commit is contained in:
Julien BLACHE 2010-01-08 12:29:13 +01:00
parent fc971974f0
commit 5887cc2e27
1 changed files with 0 additions and 10 deletions

View File

@ -289,19 +289,9 @@ register_services(char *ffid, int no_rsp, int no_daap)
static void
signal_cb(int fd, short event, void *arg)
{
struct sigaction sa_ign;
struct sigaction sa_dfl;
struct signalfd_siginfo info;
int status;
sa_ign.sa_handler = SIG_IGN;
sa_ign.sa_flags = 0;
sigemptyset(&sa_ign.sa_mask);
sa_dfl.sa_handler = SIG_DFL;
sa_dfl.sa_flags = 0;
sigemptyset(&sa_dfl.sa_mask);
while (read(fd, &info, sizeof(struct signalfd_siginfo)) > 0)
{
switch (info.ssi_signo)