summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2015-11-02 01:22:38 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2015-11-02 01:22:38 +0000
commitdceacd827d7334732ee17cd58ddef8916cdae0be (patch)
treef67acaf02f795b9faf03ffa611f93ba785be3e7b /sbin
parent70a17327fda77acd996a27a71943a27c120d365e (diff)
remove unused variables
ok krw@ millert@
Diffstat (limited to 'sbin')
-rw-r--r--sbin/mount_msdos/mount_msdos.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/mount_msdos/mount_msdos.c b/sbin/mount_msdos/mount_msdos.c
index 6581bd34fed..a7d353518d6 100644
--- a/sbin/mount_msdos/mount_msdos.c
+++ b/sbin/mount_msdos/mount_msdos.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount_msdos.c,v 1.30 2015/04/18 18:28:37 deraadt Exp $ */
+/* $OpenBSD: mount_msdos.c,v 1.31 2015/11/02 01:22:37 chl Exp $ */
/* $NetBSD: mount_msdos.c,v 1.16 1996/10/24 00:12:50 cgd Exp $ */
/*
@@ -159,7 +159,6 @@ a_gid(char *s)
{
struct group *gr;
const char *errstr;
- char *gname;
gid_t gid;
if ((gr = getgrnam(s)) != NULL)
@@ -175,7 +174,6 @@ a_uid(char *s)
{
struct passwd *pw;
const char *errstr;
- char *uname;
uid_t uid;
if ((pw = getpwnam(s)) != NULL)