From 69050b3c167ca63be802a583fe2f917d74cfed4e Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 6 Sep 2023 03:17:32 +0000 Subject: [PATCH] remove unused variable --- sbin/disklabel/editor.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c index a1d1a2f6801..78857fc6840 100644 --- a/sbin/disklabel/editor.c +++ b/sbin/disklabel/editor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: editor.c,v 1.415 2023/07/05 07:28:10 krw Exp $ */ +/* $OpenBSD: editor.c,v 1.416 2023/09/06 03:17:32 jsg Exp $ */ /* * Copyright (c) 1997-2000 Todd C. Miller @@ -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)); -- 2.20.1