summaryrefslogtreecommitdiff
path: root/project2/sql/sqlTest.cpp
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2012-07-09 18:26:22 +0000
committerrandomdan <randomdan@localhost>2012-07-09 18:26:22 +0000
commitfaac604b47a2fd86ae9b56e26437aad2d8460e0c (patch)
treec3d6d7cb12ac00b53d3e251dd33cfa7a9cf71361 /project2/sql/sqlTest.cpp
parentWrite sha1 hashes onto presenter cache files and validate client caches with ... (diff)
downloadproject2-faac604b47a2fd86ae9b56e26437aad2d8460e0c.tar.bz2
project2-faac604b47a2fd86ae9b56e26437aad2d8460e0c.tar.xz
project2-faac604b47a2fd86ae9b56e26437aad2d8460e0c.zip
Fixes suggested by cppcheck
Diffstat (limited to 'project2/sql/sqlTest.cpp')
-rw-r--r--project2/sql/sqlTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/project2/sql/sqlTest.cpp b/project2/sql/sqlTest.cpp
index 3cf25b7..f45b2c9 100644
--- a/project2/sql/sqlTest.cpp
+++ b/project2/sql/sqlTest.cpp
@@ -20,7 +20,8 @@ SqlTest::SqlTest(ScriptNodePtr p) :
filter(p, "filter", ""),
testOp(p, "testOp", "=="),
testValue(p, "testValue"),
- sqlCommand(p->child("sql"))
+ sqlCommand(p->child("sql")),
+ db(NULL)
{
}