Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2014 01:20:44 +0000 (UTC)
From:      Steven Hartland <smh@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264852 - head/cddl/contrib/opensolaris/lib/libzfs/common
Message-ID:  <201404240120.s3O1Kijl044836@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: smh
Date: Thu Apr 24 01:20:43 2014
New Revision: 264852
URL: http://svnweb.freebsd.org/changeset/base/264852

Log:
  Silence compiler warning due to missing return in idmap_id_to_numeric_domain_rid

Modified:
  head/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c

Modified: head/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c
==============================================================================
--- head/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c	Thu Apr 24 01:12:52 2014	(r264851)
+++ head/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c	Thu Apr 24 01:20:43 2014	(r264852)
@@ -2573,6 +2573,7 @@ out:
 	return (err);
 #else	/* !sun */
 	assert(!"invalid code path");
+	return (EINVAL); // silence compiler warning
 #endif	/* !sun */
 }
 



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