Skip to content
Snippets Groups Projects
Commit 221c521f authored by callum_linden's avatar callum_linden
Browse files

Update to build on Xcode 6.0 (fix unit tests): remove unused statement warning

parent 0bcfb017
No related branches found
No related tags found
No related merge requests found
...@@ -94,7 +94,6 @@ using coroutines::coroutine; ...@@ -94,7 +94,6 @@ using coroutines::coroutine;
template<typename Iter> template<typename Iter>
bool match(Iter first, Iter last, std::string match) { bool match(Iter first, Iter last, std::string match) {
std::string::iterator i = match.begin(); std::string::iterator i = match.begin();
i != match.end();
for(; (first != last) && (i != match.end()); ++i) { for(; (first != last) && (i != match.end()); ++i) {
if (*first != *i) if (*first != *i)
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment