summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/res_debug.c
diff options
context:
space:
mode:
authortholo <>1997-04-30 05:54:44 +0000
committertholo <>1997-04-30 05:54:44 +0000
commit37e5d720409522b387b468b7718497edd2b859a9 (patch)
tree2be5c80e0d52224921a079af73f79844830b69f5 /src/lib/libc/net/res_debug.c
parentca9cab4620bc2b85a035583ff19c1b38bdb1165f (diff)
downloadopenbsd-37e5d720409522b387b468b7718497edd2b859a9.tar.gz
openbsd-37e5d720409522b387b468b7718497edd2b859a9.tar.bz2
openbsd-37e5d720409522b387b468b7718497edd2b859a9.zip
Remove unused variables
Diffstat (limited to 'src/lib/libc/net/res_debug.c')
-rw-r--r--src/lib/libc/net/res_debug.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/libc/net/res_debug.c b/src/lib/libc/net/res_debug.c
index 0b623a153c..f002e11d7d 100644
--- a/src/lib/libc/net/res_debug.c
+++ b/src/lib/libc/net/res_debug.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_debug.c,v 1.6 1997/04/05 21:13:16 millert Exp $ */ 1/* $OpenBSD: res_debug.c,v 1.7 1997/04/30 05:54:43 tholo Exp $ */
2 2
3/* 3/*
4 * ++Copyright++ 1985, 1990, 1993 4 * ++Copyright++ 1985, 1990, 1993
@@ -82,7 +82,7 @@
82static char sccsid[] = "@(#)res_debug.c 8.1 (Berkeley) 6/4/93"; 82static char sccsid[] = "@(#)res_debug.c 8.1 (Berkeley) 6/4/93";
83static char rcsid[] = "$From: res_debug.c,v 8.19 1996/11/26 10:11:23 vixie Exp $"; 83static char rcsid[] = "$From: res_debug.c,v 8.19 1996/11/26 10:11:23 vixie Exp $";
84#else 84#else
85static char rcsid[] = "$OpenBSD: res_debug.c,v 1.6 1997/04/05 21:13:16 millert Exp $"; 85static char rcsid[] = "$OpenBSD: res_debug.c,v 1.7 1997/04/30 05:54:43 tholo Exp $";
86#endif 86#endif
87#endif /* LIBC_SCCS and not lint */ 87#endif /* LIBC_SCCS and not lint */
88 88
@@ -1257,8 +1257,9 @@ loc_aton(ascii, binary)
1257 const char *ascii; 1257 const char *ascii;
1258 u_char *binary; 1258 u_char *binary;
1259{ 1259{
1260 const char *cp, *maxcp; 1260 const char *maxcp;
1261 u_char *bcp; 1261 u_char *bcp;
1262 char *cp;
1262 1263
1263 u_int32_t latit = 0, longit = 0, alt = 0; 1264 u_int32_t latit = 0, longit = 0, alt = 0;
1264 u_int32_t lltemp1 = 0, lltemp2 = 0; 1265 u_int32_t lltemp1 = 0, lltemp2 = 0;
@@ -1268,7 +1269,7 @@ loc_aton(ascii, binary)
1268 u_int8_t siz = 0x12; /* default = 1e2 cm = 1.00m */ 1269 u_int8_t siz = 0x12; /* default = 1e2 cm = 1.00m */
1269 int which1 = 0, which2 = 0; 1270 int which1 = 0, which2 = 0;
1270 1271
1271 cp = ascii; 1272 cp = (char *)ascii;
1272 maxcp = cp + strlen(ascii); 1273 maxcp = cp + strlen(ascii);
1273 1274
1274 lltemp1 = latlon2ul(&cp, &which1); 1275 lltemp1 = latlon2ul(&cp, &which1);