From e90c5c1e49bfd9b6000d4934821d74cb54e1813f Mon Sep 17 00:00:00 2001 From: Louis Date: Tue, 24 Feb 2015 15:02:50 +0100 Subject: [PATCH] Suppress useless code --- src/parse.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/parse.h b/src/parse.h index 6dfdc32..14c08fd 100644 --- a/src/parse.h +++ b/src/parse.h @@ -59,16 +59,13 @@ static bool _cut(const string& entry, vector& entries) //get expression i+=2; tmp = "<<"; + // trim leading spaces + while (i' && entry.at(i+1) == '>') - { - tmp += ">>"; - i+=2; - break; - } - else - tmp+=entry.at(i); + tmp+=entry.at(i); i++; } entries.push_back(tmp);