remove unused var in new sigaction code
authorRich Felker <dalias@aerifal.cx>
Wed, 11 Jul 2012 07:20:43 +0000 (03:20 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 11 Jul 2012 07:20:43 +0000 (03:20 -0400)
src/signal/sigaction.c

index 089e9b808f5c197b761f61ef05c8cc9b2a202ea4..e0c58b734e9d22c3fa37682aaa85bee84ccabe89 100644 (file)
@@ -13,7 +13,7 @@ weak_alias(dummy, __pthread_self_def);
 
 int __libc_sigaction(int sig, const struct sigaction *sa, struct sigaction *old)
 {
-       struct k_sigaction ksa, *pksa=0;
+       struct k_sigaction ksa;
        if (sa) {
                ksa.handler = sa->sa_handler;
                ksa.flags = sa->sa_flags | SA_RESTORER;