--- openssh-10.5p1/channels.c +++ openssh-10.5p1/channels.c @@ -1663,7 +1663,7 @@ uint16_t dest_port; char dest_addr[255+1], ntop[INET6_ADDRSTRLEN]; u_int af; - int r, success = -1;; + int r, success = -1; struct sshbuf *b = NULL; debug2("channel %d: decode socks5 %s", c->self, --- openssh-10.5p1/sshconnect2.c +++ openssh-10.5p1/sshconnect2.c @@ -1725,7 +1725,7 @@ order_identities_by_prio(struct idlist *list) { struct idlist prio[MAX_ID_PRIORITY + 1], sorted; - struct identity *id, *tmp, *dummy; + struct identity *id, *tmp, *dummy, *s; int p; for (p = 0; p <= MAX_ID_PRIORITY; p++) @@ -1750,7 +1750,7 @@ TAILQ_FOREACH_SAFE(id, list, next, tmp) { if (id->userprovided != -1) continue; - struct identity *s = TAILQ_FIRST(&sorted); + s = TAILQ_FIRST(&sorted); TAILQ_REMOVE(&sorted, s, next); TAILQ_INSERT_BEFORE(id, s, next); TAILQ_REMOVE(list, id, next);