summaryrefslogtreecommitdiff
path: root/usr.sbin/makefs/msdos
diff options
context:
space:
mode:
authorMartin Natano <natano@cvs.openbsd.org>2016-10-17 14:25:34 +0000
committerMartin Natano <natano@cvs.openbsd.org>2016-10-17 14:25:34 +0000
commit81f56f24c3040f319e3d71dbda62287f5dc08a22 (patch)
treeea7d3da39a79aa078e0cfd1381f1ba997a8c910f /usr.sbin/makefs/msdos
parentfb04025b8e11264f413f80a951d0b08b2d078da2 (diff)
unused variables
Diffstat (limited to 'usr.sbin/makefs/msdos')
-rw-r--r--usr.sbin/makefs/msdos/msdosfs_vfsops.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/makefs/msdos/msdosfs_vfsops.c b/usr.sbin/makefs/msdos/msdosfs_vfsops.c
index c9340b949c9..c84690b05a1 100644
--- a/usr.sbin/makefs/msdos/msdosfs_vfsops.c
+++ b/usr.sbin/makefs/msdos/msdosfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfs_vfsops.c,v 1.6 2016/10/17 13:53:35 natano Exp $ */
+/* $OpenBSD: msdosfs_vfsops.c,v 1.7 2016/10/17 14:25:33 natano Exp $ */
/*-
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -85,11 +85,10 @@ msdosfs_mount(struct mkfsvnode *devvp, int flags)
struct byte_bpb50 *b50;
struct byte_bpb710 *b710;
uint8_t SecPerClust;
- int ronly = 0, error, tmp;
+ int ronly = 0, error;
int bsize;
struct msdos_options *m = devvp->fs->fs_specific;
struct timezone tz;
- uint64_t psize = m->create_size;
unsigned secsize = 512;
DPRINTF(("%s(bread 0)\n", __func__));