diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2020-02-21 15:59:26 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2020-02-21 15:59:26 +0200 |
commit | b0a2a77d10940c42b449d47a005bfc2e50ab5db8 (patch) | |
tree | 4fbdd1789ed0c1a04d84983d3f5ec41aaa7f36bf | |
parent | tuklib_integer.m4: Optimize the check order. (diff) | |
download | xz-b0a2a77d10940c42b449d47a005bfc2e50ab5db8.tar.xz |
xz: Avoid unneeded access of a volatile variable.
Diffstat (limited to '')
-rw-r--r-- | src/xz/signals.c | 2 |
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 } |