diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2020-02-21 15:59:26 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2020-03-11 12:05:57 +0200 |
commit | b6314aa275b35c714e0a191d0b2e9b6106129ea9 (patch) | |
tree | 5a8ab19b4869a8a282dd8948309cfed8ad7cea5c /src | |
parent | tuklib_integer.m4: Optimize the check order. (diff) | |
download | xz-b6314aa275b35c714e0a191d0b2e9b6106129ea9.tar.xz |
xz: Avoid unneeded access of a volatile variable.
Diffstat (limited to 'src')
-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 } |