diff options
Diffstat (limited to 'src/db/SimpleDatabasePlugin.cxx')
-rw-r--r-- | src/db/SimpleDatabasePlugin.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/db/SimpleDatabasePlugin.cxx b/src/db/SimpleDatabasePlugin.cxx index c28f0e4cc..2e30086fc 100644 --- a/src/db/SimpleDatabasePlugin.cxx +++ b/src/db/SimpleDatabasePlugin.cxx @@ -71,7 +71,6 @@ bool SimpleDatabase::Check(Error &error) const { assert(!path.IsNull()); - assert(!path.empty()); /* Check if the file exists */ if (!CheckAccess(path, F_OK)) { @@ -137,7 +136,7 @@ SimpleDatabase::Check(Error &error) const bool SimpleDatabase::Load(Error &error) { - assert(!path.empty()); + assert(!path.IsNull()); assert(root != NULL); TextFile file(path); |