summaryrefslogtreecommitdiff
path: root/test/DumpDatabase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/DumpDatabase.cxx')
-rw-r--r--test/DumpDatabase.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/DumpDatabase.cxx b/test/DumpDatabase.cxx
index 5032cab69..e673dc698 100644
--- a/test/DumpDatabase.cxx
+++ b/test/DumpDatabase.cxx
@@ -136,10 +136,7 @@ try {
AtScopeExit(db) { delete db; };
- if (!db->Open(error)) {
- cerr << error.GetMessage() << endl;
- return EXIT_FAILURE;
- }
+ db->Open();
AtScopeExit(db) { db->Close(); };