Code Cleanup
- When compiling the 2.0.0 branch of Taskwarrior with GCC 4.6.1, the compiler generates a number of warnings. This patch eliminates these warnings. Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
committed by
Paul Beckingham
parent
b9ea9ca2db
commit
0e2da7f1d4
@@ -238,7 +238,6 @@ bool Nibbler::getQuoted (
|
||||
bool inquote = false;
|
||||
bool inescape = false;
|
||||
char current = 0;
|
||||
char previous = 0;
|
||||
result = "";
|
||||
|
||||
if (mCursor >= mLength ||
|
||||
@@ -249,7 +248,6 @@ bool Nibbler::getQuoted (
|
||||
|
||||
for (std::string::size_type i = mCursor; i < mLength; ++i)
|
||||
{
|
||||
previous = current;
|
||||
current = mInput[i];
|
||||
|
||||
if (current == '\\' && !inescape)
|
||||
|
||||
Reference in New Issue
Block a user