diff options
author | natano <natano@openbsd.org> | 2016-10-17 14:25:33 +0000 |
---|---|---|
committer | natano <natano@openbsd.org> | 2016-10-17 14:25:33 +0000 |
commit | 665056ee3efc984e4dd6ba017b0176018e2a31f9 (patch) | |
tree | 484df8a6eab68326b229a33f512c996a092220b1 /usr.sbin/makefs | |
parent | Remove apple ufs bits. (diff) | |
download | wireguard-openbsd-665056ee3efc984e4dd6ba017b0176018e2a31f9.tar.xz wireguard-openbsd-665056ee3efc984e4dd6ba017b0176018e2a31f9.zip |
unused variables
Diffstat (limited to 'usr.sbin/makefs')
-rw-r--r-- | usr.sbin/makefs/makefs.c | 4 | ||||
-rw-r--r-- | usr.sbin/makefs/msdos/msdosfs_vfsops.c | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/makefs/makefs.c b/usr.sbin/makefs/makefs.c index 86935d41e4f..6c15d02656c 100644 --- a/usr.sbin/makefs/makefs.c +++ b/usr.sbin/makefs/makefs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: makefs.c,v 1.7 2016/10/17 07:45:32 natano Exp $ */ +/* $OpenBSD: makefs.c,v 1.8 2016/10/17 14:25:33 natano Exp $ */ /* $NetBSD: makefs.c,v 1.53 2015/11/27 15:10:32 joerg Exp $ */ /* @@ -87,7 +87,7 @@ main(int argc, char *argv[]) fstype_t *fstype; fsinfo_t fsoptions; fsnode *root; - int ch, i, len; + int ch, len; setprogname(argv[0]); 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__)); |