diff --git a/cli-runopts.c b/cli-runopts.c
index e32d2fb8c129f3de49f6c822c3773a77fbf72739..93329f2bc7f5dbffd036a4ec979f2edbeb01f913 100644
--- a/cli-runopts.c
+++ b/cli-runopts.c
@@ -480,7 +480,7 @@ multihop_passthrough_args() {
 static void parse_multihop_hostname(const char* orighostarg, const char* argv0) {
 	char *userhostarg = NULL;
 	char *hostbuf = NULL;
-	char *last_hop = NULL;;
+	char *last_hop = NULL;
 	char *remainder = NULL;
 
 	/* both scp and rsync parse a user@host argument