* libbfd.c (bfd_put_8): Make it of type `void'.
[deliverable/binutils-gdb.git] / bfd / bfd-in2.h
index aa20c0817cd03b4c7e22d21b6ad372d519d2c9dd..93eba0d609f04f9849ac9f6eb6e882430d9aa1fe 100644 (file)
@@ -768,7 +768,7 @@ bfd_make_readable PARAMS ((bfd *abfd));
  /* Byte swapping macros for user section data.  */
 
 #define bfd_put_8(abfd, val, ptr) \
-                (*((unsigned char *)(ptr)) = (unsigned char)(val))
+                ((void) (*((unsigned char *)(ptr)) = (unsigned char)(val)))
 #define bfd_put_signed_8 \
                bfd_put_8
 #define bfd_get_8(abfd, ptr) \
This page took 0.026286 seconds and 4 git commands to generate.