summaryrefslogtreecommitdiff
path: root/sbin/fdisk/mbr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/fdisk/mbr.c')
-rw-r--r--sbin/fdisk/mbr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/fdisk/mbr.c b/sbin/fdisk/mbr.c
index 42423450617..91b287707af 100644
--- a/sbin/fdisk/mbr.c
+++ b/sbin/fdisk/mbr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbr.c,v 1.44 2015/03/14 15:21:53 krw Exp $ */
+/* $OpenBSD: mbr.c,v 1.45 2015/03/14 16:58:00 krw Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -292,7 +292,6 @@ MBR_writesector(int fd, char *secbuf, off_t where)
void
MBR_zapgpt(int fd, struct dos_mbr *dos_mbr, uint64_t lastsec)
{
- const int secsize = unit_types[SECTORS].conversion;
struct dos_partition dos_parts[NDOSPART];
char *secbuf;
uint64_t sig;