From 62eb9eb76ddacc1aa97400bef9f25b6ca4c50c8c Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Wed, 12 Feb 2014 07:27:45 -0500 Subject: [PATCH] Remove relic of old code Signed-off-by: Shea Levy --- src/download-via-ssh/download-via-ssh.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/download-via-ssh/download-via-ssh.cc b/src/download-via-ssh/download-via-ssh.cc index dee4fd78c..d85f1572f 100644 --- a/src/download-via-ssh/download-via-ssh.cc +++ b/src/download-via-ssh/download-via-ssh.cc @@ -67,7 +67,6 @@ static void query(std::pair & pipes) { tokenized.pop_front(); if (cmd == "have") { writeInt(qCmdHave, pipes.first); - foreach (Strings::iterator, i, tokenized) writeStrings(tokenized, pipes.first); pipes.first.flush(); PathSet paths = readStrings(pipes.second); @@ -75,7 +74,6 @@ static void query(std::pair & pipes) { std::cout << *i << std::endl; } else if (cmd == "info") { writeInt(qCmdInfo, pipes.first); - foreach (Strings::iterator, i, tokenized) writeStrings(tokenized, pipes.first); pipes.first.flush(); for (Path path = readString(pipes.second); !path.empty(); path = readString(pipes.second)) {