summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-05-16 20:48:14 +1000
committerDarren Tucker <dtucker@zip.com.au>2013-05-16 20:48:14 +1000
commit9113d0c2381202412c912a20c8083ab7d6824ec9 (patch)
tree407c979b637bf31afdf9dc66fbdd1e19e0d1e525
parente194ba4111ffd47cd1f4c8be1ddc8a4cb673d005 (diff)
- dtucker@cvs.openbsd.org 2013/05/16 10:43:34
[servconf.c readconf.c] remove now-unused variables
-rw-r--r--ChangeLog3
-rw-r--r--readconf.c6
-rw-r--r--servconf.c6
3 files changed, 9 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 1779aa748..c1fb0e4fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -50,6 +50,9 @@
50 - dtucker@cvs.openbsd.org 2013/05/16 09:12:31 50 - dtucker@cvs.openbsd.org 2013/05/16 09:12:31
51 [readconf.c servconf.c] 51 [readconf.c servconf.c]
52 switch RekeyLimit traffic volume parsing to scan_scaled. ok djm@ 52 switch RekeyLimit traffic volume parsing to scan_scaled. ok djm@
53 - dtucker@cvs.openbsd.org 2013/05/16 10:43:34
54 [servconf.c readconf.c]
55 remove now-unused variables
53 - (dtucker) [configure.ac readconf.c servconf.c 56 - (dtucker) [configure.ac readconf.c servconf.c
54 openbsd-compat/openbsd-compat.h] Add compat bits for scan_scaled. 57 openbsd-compat/openbsd-compat.h] Add compat bits for scan_scaled.
55 58
diff --git a/readconf.c b/readconf.c
index cbc1981ab..30c1e83bd 100644
--- a/readconf.c
+++ b/readconf.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: readconf.c,v 1.200 2013/05/16 09:12:31 dtucker Exp $ */ 1/* $OpenBSD: readconf.c,v 1.201 2013/05/16 10:43:34 dtucker Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -385,9 +385,9 @@ process_config_line(Options *options, const char *host,
385 char *s, **charptr, *endofnumber, *keyword, *arg, *arg2; 385 char *s, **charptr, *endofnumber, *keyword, *arg, *arg2;
386 char **cpptr, fwdarg[256]; 386 char **cpptr, fwdarg[256];
387 u_int i, *uintptr, max_entries = 0; 387 u_int i, *uintptr, max_entries = 0;
388 int negated, opcode, *intptr, value, value2, scale; 388 int negated, opcode, *intptr, value, value2;
389 LogLevel *log_level_ptr; 389 LogLevel *log_level_ptr;
390 long long orig, val64; 390 long long val64;
391 size_t len; 391 size_t len;
392 Forward fwd; 392 Forward fwd;
393 393
diff --git a/servconf.c b/servconf.c
index b2123c6c7..d77694476 100644
--- a/servconf.c
+++ b/servconf.c
@@ -1,5 +1,5 @@
1 1
2/* $OpenBSD: servconf.c,v 1.236 2013/05/16 09:12:31 dtucker Exp $ */ 2/* $OpenBSD: servconf.c,v 1.237 2013/05/16 10:43:34 dtucker Exp $ */
3/* 3/*
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
5 * All rights reserved 5 * All rights reserved
@@ -812,13 +812,13 @@ process_server_config_line(ServerOptions *options, char *line,
812 struct connection_info *connectinfo) 812 struct connection_info *connectinfo)
813{ 813{
814 char *cp, **charptr, *arg, *p, *endofnumber; 814 char *cp, **charptr, *arg, *p, *endofnumber;
815 int cmdline = 0, *intptr, value, value2, n, port, scale; 815 int cmdline = 0, *intptr, value, value2, n, port;
816 SyslogFacility *log_facility_ptr; 816 SyslogFacility *log_facility_ptr;
817 LogLevel *log_level_ptr; 817 LogLevel *log_level_ptr;
818 ServerOpCodes opcode; 818 ServerOpCodes opcode;
819 u_int i, flags = 0; 819 u_int i, flags = 0;
820 size_t len; 820 size_t len;
821 long long orig, val64; 821 long long val64;
822 const struct multistate *multistate_ptr; 822 const struct multistate *multistate_ptr;
823 823
824 cp = line; 824 cp = line;