Module Name: src
Committed By: christos
Date: Thu Dec 3 01:16:21 UTC 2015
Modified Files:
src/sbin/gpt: resize.c
Log Message:
remove extra assignment
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sbin/gpt/resize.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/gpt/resize.c
diff -u src/sbin/gpt/resize.c:1.19 src/sbin/gpt/resize.c:1.20
--- src/sbin/gpt/resize.c:1.19 Wed Dec 2 20:07:28 2015
+++ src/sbin/gpt/resize.c Wed Dec 2 20:16:21 2015
@@ -33,7 +33,7 @@
__FBSDID("$FreeBSD: src/sbin/gpt/add.c,v 1.14 2006/06/22 22:05:28 marcel Exp $");
#endif
#ifdef __RCSID
-__RCSID("$NetBSD: resize.c,v 1.19 2015/12/03 01:07:28 christos Exp $");
+__RCSID("$NetBSD: resize.c,v 1.20 2015/12/03 01:16:21 christos Exp $");
#endif
#include <sys/types.h>
@@ -77,8 +77,6 @@ resize(gpt_t gpt, u_int entry, off_t ali
if ((hdr = gpt_hdr(gpt)) == NULL)
return -1;
- ent = NULL;
-
i = entry - 1;
ent = gpt_ent_primary(gpt, i);
if (gpt_uuid_is_nil(ent->ent_type)) {