Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2018 06:31:17 +0000 (UTC)
From:      Matt Macy <mmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r333872 - head/cddl/contrib/opensolaris/tools/ctf/cvt
Message-ID:  <201805190631.w4J6VHhr094225@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mmacy
Date: Sat May 19 06:31:17 2018
New Revision: 333872
URL: https://svnweb.freebsd.org/changeset/base/333872

Log:
  ctfconvert: silence useless enum has too many values warning

Modified:
  head/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c

Modified: head/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c
==============================================================================
--- head/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c	Sat May 19 05:58:05 2018	(r333871)
+++ head/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c	Sat May 19 06:31:17 2018	(r333872)
@@ -438,8 +438,6 @@ write_type(void *arg1, void *arg2)
 			i++; /* count up enum members */
 
 		if (i > CTF_MAX_VLEN) {
-			warning("enum %s has too many values: %d > %d\n",
-			    tdesc_name(tp), i, CTF_MAX_VLEN);
 			i = CTF_MAX_VLEN;
 		}
 



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