summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-07-11 03:20:43 -0400
committerRich Felker <dalias@aerifal.cx>2012-07-11 03:20:43 -0400
commitcd8d72451662f0157d06fcf666669db543dcea3b (patch)
tree5bd63e147d34df3be49f8052a7d9dc5b78834b1e
parent5091e0802fea020bf6f7305e9743f276208413d4 (diff)
downloadmusl-cd8d72451662f0157d06fcf666669db543dcea3b.tar.gz
musl-cd8d72451662f0157d06fcf666669db543dcea3b.tar.bz2
musl-cd8d72451662f0157d06fcf666669db543dcea3b.tar.xz
musl-cd8d72451662f0157d06fcf666669db543dcea3b.zip
remove unused var in new sigaction code
-rw-r--r--src/signal/sigaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signal/sigaction.c b/src/signal/sigaction.c
index 089e9b80..e0c58b73 100644
--- a/src/signal/sigaction.c
+++ b/src/signal/sigaction.c
@@ -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;