summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-02-27 23:36:46 +0000
committerChris Wilson <chris+github@qwirx.com>2014-02-27 23:36:46 +0000
commit2ef0a9aa8cd3cd4dcfa0cd9d2014051832c52e8a (patch)
treed9d167bf9c2021d09a75861b90918deb6f9c22bb
parent4494cb337a40f835a9376f7d1cc01ef935171ee3 (diff)
Fix Clang warning about passing NULL as a string.
-rw-r--r--test/bbackupd/testbbackupd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bbackupd/testbbackupd.cpp b/test/bbackupd/testbbackupd.cpp
index 9d931294..4fdd12e9 100644
--- a/test/bbackupd/testbbackupd.cpp
+++ b/test/bbackupd/testbbackupd.cpp
@@ -3943,7 +3943,7 @@ int test(int argc, const char *argv[])
// This is not a complete command, it should not parse!
BackupQueries::ParsedCommand cmd("-od", true);
TEST_THAT(cmd.mFailed);
- TEST_EQUAL(NULL, cmd.pSpec);
+ TEST_EQUAL(0, cmd.pSpec);
TEST_EQUAL(0, cmd.mCompleteArgCount);
}