diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2015-03-14 16:58:01 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2015-03-14 16:58:01 +0000 |
commit | bd1f94bd2fe0ba57976886024d2944d33976a9f4 (patch) | |
tree | d37a0872bb8a8c4d6f30bf31f574ef079212aab2 | |
parent | eec4ce7c5dfc726a5218f3375e95e87a9a2b1a0a (diff) |
Zap unused variable.
Diff from chl@. Committing now so it doesn't get lost in upcoming
megachurn.
-rw-r--r-- | sbin/fdisk/mbr.c | 3 |
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; |