svn commit: r222203 - head/contrib/gcclibs/libiberty
Ben Laurie
benl at FreeBSD.org
Sun May 22 22:14:15 UTC 2011
Author: benl
Date: Sun May 22 22:14:15 2011
New Revision: 222203
URL: http://svn.freebsd.org/changeset/base/222203
Log:
Fix clang compile warnings.
Approved by: philip (mentor)
Modified:
head/contrib/gcclibs/libiberty/regex.c
Modified: head/contrib/gcclibs/libiberty/regex.c
==============================================================================
--- head/contrib/gcclibs/libiberty/regex.c Sun May 22 21:46:55 2011 (r222202)
+++ head/contrib/gcclibs/libiberty/regex.c Sun May 22 22:14:15 2011 (r222203)
@@ -149,7 +149,7 @@ char *realloc ();
# include <string.h>
# ifndef bzero
# ifndef _LIBC
-# define bzero(s, n) (memset (s, '\0', n), (s))
+# define bzero(s, n) ((void) (memset (s, '\0', n), (s)))
# else
# define bzero(s, n) __bzero (s, n)
# endif
More information about the svn-src-all
mailing list