=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/misc.c,v retrieving revision 1.115 retrieving revision 1.116 diff -u -r1.115 -r1.116 --- src/usr.bin/ssh/misc.c 2017/10/23 05:08:00 1.115 +++ src/usr.bin/ssh/misc.c 2017/10/24 19:41:45 1.116 @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.115 2017/10/23 05:08:00 djm Exp $ */ +/* $OpenBSD: misc.c,v 1.116 2017/10/24 19:41:45 millert Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * Copyright (c) 2005,2006 Damien Miller. All rights reserved. @@ -478,7 +478,7 @@ if (pathp != NULL) *pathp = NULL; - sdup = tmp = xstrdup(s); + sdup = xstrdup(s); /* Check for remote syntax: [user@]host:[path] */ if ((tmp = colon(sdup)) == NULL) @@ -510,11 +510,11 @@ if (hostp != NULL) { *hostp = host; host = NULL; - } + } if (pathp != NULL) { *pathp = path; path = NULL; - } + } ret = 0; out: free(sdup);