From c2b90e930193d0b89f6d4b04c06ece8d8853809c Mon Sep 17 00:00:00 2001 From: Tristan Dunn Date: Fri, 25 Feb 2011 18:08:43 -0500 Subject: [PATCH] Remove unneeded variable. --- src/Find.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Find.cpp b/src/Find.cpp index a3bc4c7..30e461e 100644 --- a/src/Find.cpp +++ b/src/Find.cpp @@ -34,15 +34,13 @@ void Find::receivedArgument(const char *xpath) { if (result.isValid()) { QVariantList nodes = result.toList(); - bool addComma = false; double node; for (int i = 0; i < nodes.size(); i++) { node = nodes[i].toDouble(); - if (addComma) + if (i > 0) response.append(","); response.append(QString::number(node)); - addComma = true; } emit finished(true, response);