diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2019-07-07 03:05:00 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-07-08 03:45:51 +0200 |
commit | 696fb4298e80f2ebcd188986a91b49af3b7ca14c (patch) | |
tree | b07d04b5035781544ddb0e9e9fee1476bf564850 /hostfile.c | |
parent | upstream: still compile uuencode.c, unbreaks build (diff) | |
download | openssh-696fb4298e80f2ebcd188986a91b49af3b7ca14c.tar.xz openssh-696fb4298e80f2ebcd188986a91b49af3b7ca14c.zip |
upstream: Remove some set but never used variables. ok daraadt@
OpenBSD-Commit-ID: 824baf9c59afc66a4637017e397b9b74a41684e7
Diffstat (limited to 'hostfile.c')
-rw-r--r-- | hostfile.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hostfile.c b/hostfile.c index 6a2a3d0b0..389aae1fc 100644 --- a/hostfile.c +++ b/hostfile.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hostfile.c,v 1.75 2019/06/28 01:23:50 deraadt Exp $ */ +/* $OpenBSD: hostfile.c,v 1.76 2019/07/07 01:05:00 dtucker Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -163,13 +163,12 @@ int hostfile_read_key(char **cpp, u_int *bitsp, struct sshkey *ret) { char *cp; - int r; /* Skip leading whitespace. */ for (cp = *cpp; *cp == ' ' || *cp == '\t'; cp++) ; - if ((r = sshkey_read(ret, &cp)) != 0) + if (sshkey_read(ret, &cp) != 0) return 0; /* Skip trailing whitespace. */ |