Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/sysinst Drop unused variable.



details:   https://anonhg.NetBSD.org/src/rev/4ca0a0bae26a
branches:  trunk
changeset: 461116:4ca0a0bae26a
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Nov 16 15:50:45 2019 +0000

description:
Drop unused variable.

diffstat:

 usr.sbin/sysinst/part_edit.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 47fffe317eea -r 4ca0a0bae26a usr.sbin/sysinst/part_edit.c
--- a/usr.sbin/sysinst/part_edit.c      Sat Nov 16 15:38:43 2019 +0000
+++ b/usr.sbin/sysinst/part_edit.c      Sat Nov 16 15:50:45 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: part_edit.c,v 1.12 2019/11/13 18:57:26 martin Exp $ */
+/*     $NetBSD: part_edit.c,v 1.13 2019/11/16 15:50:45 joerg Exp $ */
 
 /*
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -462,7 +462,7 @@
        struct disk_partitions *csrc;
        struct disk_part_free_space space;
        daddr_t offset, align;
-       size_t s, clone_cnt;
+       size_t s;
        part_id cid;
        struct selected_partitions selected;
        struct single_clone_data *new_clones;
@@ -543,7 +543,6 @@
                if (cid == NO_PART)
                        continue;
                parts->pscheme->get_part_info(parts, cid, &cinfo);
-                       clone_cnt++;
                offset = rounddown(cinfo.start+cinfo.size+align, align);
        }
 



Home | Main Index | Thread Index | Old Index