From 5a76c7c8ee9a0afbeedb1c211db9224260404347 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sun, 3 Aug 2014 20:38:13 +0300 Subject: [PATCH] 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. --- src/liblzma/check/sha256.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/liblzma/check/sha256.c b/src/liblzma/check/sha256.c index 376401d..6e2f65f 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)))