diff options
Diffstat (limited to 'src/liblzma/check/sha256.c')
-rw-r--r-- | src/liblzma/check/sha256.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/liblzma/check/sha256.c b/src/liblzma/check/sha256.c index 978fc668..6053a51b 100644 --- a/src/liblzma/check/sha256.c +++ b/src/liblzma/check/sha256.c @@ -22,6 +22,11 @@ // /////////////////////////////////////////////////////////////////////////////// +// Avoid bogus warnings in transform(). +#if (__GNUC__ == 4 && __GNUC_MINOR__ >= 2) || __GNUC__ > 4 +# pragma GCC diagnostic ignored "-Wuninitialized" +#endif + #include "check.h" #ifndef WORDS_BIGENDIAN |