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) | |
download | openssh-git-2f7faf19d55b8b0f591f86f1c0bd35f527c4b351.tar.gz |
- 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
@@ -1,4 +1,4 @@ -/* $OpenBSD: ttymodes.c,v 1.27 2008/05/19 15:45:07 djm Exp $ */ +/* $OpenBSD: ttymodes.c,v 1.28 2008/07/07 00:31:41 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -355,7 +355,7 @@ tty_parse_modes(int fd, int *n_bytes_ptr) int n_bytes = 0; int failure = 0; u_int (*get_arg)(void); - int arg, arg_size; + int arg_size; if (compat20) { *n_bytes_ptr = packet_get_int(); @@ -416,7 +416,7 @@ tty_parse_modes(int fd, int *n_bytes_ptr) #define TTYMODE(NAME, FIELD, OP) \ case OP: \ n_bytes += arg_size; \ - if ((arg = get_arg())) \ + if (get_arg()) \ tio.FIELD |= NAME; \ else \ tio.FIELD &= ~NAME; \ |