../../common/include/checked-overflow.h:164:18: error: typedef 
'x_has_uint_type' locally defined but not used [-Werror=unused-local-typedefs]
     typedef char x_has_uint_type[(typeof (x))-1 > 0 ? 1 : -1]; \
                  ^
---
 common/include/checked-overflow.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/include/checked-overflow.h 
b/common/include/checked-overflow.h
index d72f95a2..01943948 100644
--- a/common/include/checked-overflow.h
+++ b/common/include/checked-overflow.h
@@ -161,7 +161,7 @@
  */
 #define STATIC_ASSERT_UNSIGNED_INT(x)                          \
   do {                                                         \
-    typedef char x_has_uint_type[(typeof (x))-1 > 0 ? 1 : -1]; \
+    typedef char x_has_uint_type[(typeof (x))-1 > 0 ? 1 : -1] 
__attribute__((__unused__)); \
   } while (0)
 
 /* Assign the sum "a + b" to "*r", using uintmax_t modular arithmetic.
-- 
2.32.0

_______________________________________________
Libguestfs mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/libguestfs

Reply via email to