* regex.c (bzero) [!_LIBC]: Cast the call to memcpy to (void).
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Mar 2014 22:04:07 +0000 (22:04 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 8 May 2014 16:18:29 +0000 (10:18 -0600)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208558 138bc75d-0d04-0410-961f-82ee72b054a4

libiberty/regex.c

index cc9acdc2380c09fa02cfc271a87df568190d2243..16338cb206b455d87d275e778d4590500c213216 100644 (file)
@@ -151,7 +151,7 @@ char *realloc ();
 #    include <string.h>
 #    ifndef bzero
 #     ifndef _LIBC
-#      define bzero(s, n)      memset (s, '\0', n)
+#      define bzero(s, n)      ((void) memset (s, '\0', n))
 #     else
 #      define bzero(s, n)      __bzero (s, n)
 #     endif
This page took 0.030296 seconds and 4 git commands to generate.