diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2014-08-03 20:38:13 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2014-08-03 20:38:13 +0300 |
commit | 5a76c7c8ee9a0afbeedb1c211db9224260404347 (patch) | |
tree | 783f802b54d26e3487126a6be2639f6988767dbf /src/liblzma | |
parent | liblzma: SHA-256: Unroll a little more. (diff) | |
download | xz-5a76c7c8ee9a0afbeedb1c211db9224260404347.tar.xz |
liblzma: SHA-256: Remove the GCC #pragma that became unneeded.
The unrolling in the previous commit should avoid the
situation where a compiler may think that an uninitialized
variable might be accessed.
Diffstat (limited to 'src/liblzma')
-rw-r--r-- | src/liblzma/check/sha256.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/liblzma/check/sha256.c b/src/liblzma/check/sha256.c index 376401d5..6e2f65f1 100644 --- a/src/liblzma/check/sha256.c +++ b/src/liblzma/check/sha256.c @@ -23,11 +23,6 @@ #include "check.h" -// Avoid bogus warnings in transform(). -#if TUKLIB_GNUC_REQ(4, 2) -# pragma GCC diagnostic ignored "-Wuninitialized" -#endif - // At least on x86, GCC is able to optimize this to a rotate instruction. #define rotr_32(num, amount) ((num) >> (amount) | (num) << (32 - (amount))) |