diff options
author | Damien Miller <djm@mindrot.org> | 2008-07-11 17:34:35 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2008-07-11 17:34:35 +1000 |
commit | 2f7faf19d55b8b0f591f86f1c0bd35f527c4b351 (patch) | |
tree | 481b3db161277908e29b20ab83ac2e87eccc07d5 /ttymodes.c | |
parent | 73193b369333e9c2409aeef6caa9f4cefa8118a1 (diff) |
- stevesk@cvs.openbsd.org 2008/07/07 00:31:41
[ttymodes.c]
we don't need arg after the debug3() was removed. from lint.
ok djm@
Diffstat (limited to 'ttymodes.c')
-rw-r--r-- | ttymodes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ttymodes.c b/ttymodes.c index d11d00c28..e116b1999 100644 --- a/ttymodes.c +++ b/ttymodes.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ttymodes.c,v 1.27 2008/05/19 15:45:07 djm Exp $ */ | 1 | /* $OpenBSD: ttymodes.c,v 1.28 2008/07/07 00:31:41 stevesk 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 |
@@ -355,7 +355,7 @@ tty_parse_modes(int fd, int *n_bytes_ptr) | |||
355 | int n_bytes = 0; | 355 | int n_bytes = 0; |
356 | int failure = 0; | 356 | int failure = 0; |
357 | u_int (*get_arg)(void); | 357 | u_int (*get_arg)(void); |
358 | int arg, arg_size; | 358 | int arg_size; |
359 | 359 | ||
360 | if (compat20) { | 360 | if (compat20) { |
361 | *n_bytes_ptr = packet_get_int(); | 361 | *n_bytes_ptr = packet_get_int(); |
@@ -416,7 +416,7 @@ tty_parse_modes(int fd, int *n_bytes_ptr) | |||
416 | #define TTYMODE(NAME, FIELD, OP) \ | 416 | #define TTYMODE(NAME, FIELD, OP) \ |
417 | case OP: \ | 417 | case OP: \ |
418 | n_bytes += arg_size; \ | 418 | n_bytes += arg_size; \ |
419 | if ((arg = get_arg())) \ | 419 | if (get_arg()) \ |
420 | tio.FIELD |= NAME; \ | 420 | tio.FIELD |= NAME; \ |
421 | else \ | 421 | else \ |
422 | tio.FIELD &= ~NAME; \ | 422 | tio.FIELD &= ~NAME; \ |