Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2019 10:03:16 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r354991 - head/tests/sys/sys
Message-ID:  <201911221003.xAMA3GOX054489@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lwhsu
Date: Fri Nov 22 10:03:16 2019
New Revision: 354991
URL: https://svnweb.freebsd.org/changeset/base/354991

Log:
  Fix GCC build.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/tests/sys/sys/bitstring_test.c

Modified: head/tests/sys/sys/bitstring_test.c
==============================================================================
--- head/tests/sys/sys/bitstring_test.c	Fri Nov 22 04:34:46 2019	(r354990)
+++ head/tests/sys/sys/bitstring_test.c	Fri Nov 22 10:03:16 2019	(r354991)
@@ -347,7 +347,7 @@ ATF_TC_WITHOUT_HEAD(bit_ffs_area);
 ATF_TC_BODY(bit_ffs_area, tc)
 {
 	const int nbits = 72;
-	bitstr_t bit_decl(bitstr, nbits) = {};
+	bitstr_t bit_decl(bitstr, nbits);
 	int location;
 
 	bit_set(bitstr, 5);
@@ -416,7 +416,7 @@ ATF_TC_WITHOUT_HEAD(bit_ffc_area);
 ATF_TC_BODY(bit_ffc_area, tc)
 {
 	const int nbits = 80;
-	bitstr_t bit_decl(bitstr, nbits) = {};
+	bitstr_t bit_decl(bitstr, nbits);
 	int location;
 
 	/* set all bits */



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