aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2014-08-03 20:38:13 +0300
committerLasse Collin <lasse.collin@tukaani.org>2014-08-03 20:38:13 +0300
commit5a76c7c8ee9a0afbeedb1c211db9224260404347 (patch)
tree783f802b54d26e3487126a6be2639f6988767dbf /src/liblzma
parentliblzma: SHA-256: Unroll a little more. (diff)
downloadxz-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.c5
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)))