artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a8b133
)
remove unused variable
author
jsg
<jsg@openbsd.org>
Wed, 6 Sep 2023 03:17:32 +0000
(
03:17
+0000)
committer
jsg
<jsg@openbsd.org>
Wed, 6 Sep 2023 03:17:32 +0000
(
03:17
+0000)
sbin/disklabel/editor.c
patch
|
blob
|
history
diff --git
a/sbin/disklabel/editor.c
b/sbin/disklabel/editor.c
index
a1d1a2f
..
78857fc
100644
(file)
--- a/
sbin/disklabel/editor.c
+++ b/
sbin/disklabel/editor.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: editor.c,v 1.41
5 2023/07/05 07:28:10 krw
Exp $ */
+/* $OpenBSD: editor.c,v 1.41
6 2023/09/06 03:17:32 jsg
Exp $ */
/*
* Copyright (c) 1997-2000 Todd C. Miller <millert@openbsd.org>
@@
-1799,8
+1799,6
@@
micmp(const void *a1, const void *a2)
void
zero_partitions(struct disklabel *lp)
{
- int i;
-
memset(lp->d_partitions, 0, sizeof(lp->d_partitions));
DL_SETPSIZE(&lp->d_partitions[RAW_PART], DL_GETDSIZE(lp));