mirror of https://git.tukaani.org/xz.git
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:
parent
9a096f8e57
commit
5a76c7c8ee
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue