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-02-21 15:59:26 +0200
commitb0a2a77d10940c42b449d47a005bfc2e50ab5db8 (patch)
tree4fbdd1789ed0c1a04d84983d3f5ec41aaa7f36bf
parenttuklib_integer.m4: Optimize the check order. (diff)
downloadxz-b0a2a77d10940c42b449d47a005bfc2e50ab5db8.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
}