summaryrefslogtreecommitdiff
path: root/lib/libc/gen/login_cap.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-16 06:24:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-16 06:24:42 +0000
commit57d9ab7db10592033067914390dfe336c2190b2e (patch)
tree6b814fc7df40d9eb08918fcfd9a4cf4aa0bf2a61 /lib/libc/gen/login_cap.c
parentc51cea076b7fa2edac4680816b7dca8c66e4fb14 (diff)
unused variable killed
Diffstat (limited to 'lib/libc/gen/login_cap.c')
-rw-r--r--lib/libc/gen/login_cap.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/gen/login_cap.c b/lib/libc/gen/login_cap.c
index a365810fa81..d85b408f3db 100644
--- a/lib/libc/gen/login_cap.c
+++ b/lib/libc/gen/login_cap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: login_cap.c,v 1.23 2004/08/10 15:53:31 millert Exp $ */
+/* $OpenBSD: login_cap.c,v 1.24 2004/09/16 06:24:41 deraadt Exp $ */
/*
* Copyright (c) 2000-2004 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -815,7 +815,7 @@ static
u_quad_t
strtosize(char *str, char **endptr, int radix)
{
- u_quad_t num, num2, t;
+ u_quad_t num, num2;
char *expr, *expr2;
errno = 0;
@@ -856,7 +856,6 @@ strtosize(char *str, char **endptr, int radix)
switch(*expr) {
case '*': /* Backward compatible. */
case 'x':
- t = num;
num2 = strtosize(expr+1, &expr2, radix);
if (errno) {
expr = expr2;