artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e76187
)
Nuke unused variable 'freesectors'.
author
krw
<krw@openbsd.org>
Tue, 8 Nov 2022 17:52:11 +0000
(17:52 +0000)
committer
krw
<krw@openbsd.org>
Tue, 8 Nov 2022 17:52:11 +0000
(17:52 +0000)
sbin/disklabel/editor.c
patch
|
blob
|
history
diff --git
a/sbin/disklabel/editor.c
b/sbin/disklabel/editor.c
index
68bef78
..
353ea60
100644
(file)
--- a/
sbin/disklabel/editor.c
+++ b/
sbin/disklabel/editor.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: editor.c,v 1.37
6 2022/10/14 16:36:36
krw Exp $ */
+/* $OpenBSD: editor.c,v 1.37
7 2022/11/08 17:52:11
krw Exp $ */
/*
* Copyright (c) 1997-2000 Todd C. Miller <millert@openbsd.org>
@@
-1287,7
+1287,7
@@
void
edit_parms(struct disklabel *lp)
{
char *p;
- u_int64_t
freesectors,
ui;
+ u_int64_t ui;
struct disklabel oldlabel = *lp;
printf("Changing disk type and label description for %s:\n", specname);