Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2011 22:14:15 +0000 (UTC)
From:      Ben Laurie <benl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r222203 - head/contrib/gcclibs/libiberty
Message-ID:  <201105222214.p4MMEFf1092851@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105222214.p4MMEFf1092851>