summaryrefslogtreecommitdiff
path: root/rpmio/digest.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpmio/digest.c')
-rw-r--r--rpmio/digest.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/rpmio/digest.c b/rpmio/digest.c
index c2e9628eb..c463d1509 100644
--- a/rpmio/digest.c
+++ b/rpmio/digest.c
@@ -361,7 +361,10 @@ MD5Transform(DIGEST_CTX ctx)
static int _ie = 0x44332211;
/*@-redef@*/
-static union _mendian { int i; char b[4]; } *_endian = (union _mendian *)&_ie;
+static union _mendian {
+/*@unused@*/ int i;
+ char b[4];
+} *_endian = (union _mendian *)&_ie;
/*@=redef@*/
#define IS_BIG_ENDIAN() (_endian->b[0] == '\x44')
#define IS_LITTLE_ENDIAN() (_endian->b[0] == '\x11')