aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2020-02-21 15:59:26 +0200
committerLasse Collin <lasse.collin@tukaani.org>2020-03-11 12:05:57 +0200
commitb6314aa275b35c714e0a191d0b2e9b6106129ea9 (patch)
tree5a8ab19b4869a8a282dd8948309cfed8ad7cea5c
parenttuklib_integer.m4: Optimize the check order. (diff)
downloadxz-b6314aa275b35c714e0a191d0b2e9b6106129ea9.tar.xz
xz: Avoid unneeded access of a volatile variable.
-rw-r--r--src/xz/signals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xz/signals.c b/src/xz/signals.c
index 56c1eb47..7daeddca 100644
--- a/src/xz/signals.c
+++ b/src/xz/signals.c
@@ -166,7 +166,7 @@ signals_exit(void)
sigfillset(&sa.sa_mask);
sa.sa_flags = 0;
sigaction(sig, &sa, NULL);
- raise(exit_signal);
+ raise(sig);
#endif
}