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.
This commit is contained in:
Lasse Collin 2014-08-03 20:38:13 +03:00
parent 9a096f8e57
commit 5a76c7c8ee

View File

@ -23,11 +23,6 @@
#include "check.h" #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. // At least on x86, GCC is able to optimize this to a rotate instruction.
#define rotr_32(num, amount) ((num) >> (amount) | (num) << (32 - (amount))) #define rotr_32(num, amount) ((num) >> (amount) | (num) << (32 - (amount)))