Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2012 09:10:32 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r235217 - head/cddl/contrib/opensolaris/cmd/zfs
Message-ID:  <201205100910.q4A9AWLu025897@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mm
Date: Thu May 10 09:10:31 2012
New Revision: 235217
URL: http://svn.freebsd.org/changeset/base/235217

Log:
  Remove unreachable break in zfs_main.c
  
  Partial import of illumos changeset 13622:e5889df1eaac
  2077 lots of unreachable breaks in illumos gate
  
  References:
  https://www.illumos.org/issues/2077
  
  PR:		kern/167370
  Submitted by:	Marcelo Araujo <araujo@FreeBSD.org>
  Obtained from:	illumos (issue #2077)
  MFC after:	1 week

Modified:
  head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c

Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c
==============================================================================
--- head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c	Thu May 10 08:57:58 2012	(r235216)
+++ head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c	Thu May 10 09:10:31 2012	(r235217)
@@ -23,6 +23,7 @@
  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
  * Copyright 2012 Nexenta Systems, Inc. All rights reserved.
  * Copyright (c) 2012 by Delphix. All rights reserved.
+ * Copyright 2012 Milan Jurik. All rights reserved.
  * Copyright (c) 2011-2012 Pawel Jakub Dawidek <pawel@dawidek.net>.
  * All rights reserved.
  * Copyright (c) 2012 Martin Matuska <mm@FreeBSD.org>. All rights reserved.
@@ -765,7 +766,6 @@ zfs_do_create(int argc, char **argv)
 			(void) fprintf(stderr, gettext("missing size "
 			    "argument\n"));
 			goto badusage;
-			break;
 		case '?':
 			(void) fprintf(stderr, gettext("invalid option '%c'\n"),
 			    optopt);



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