summaryrefslogtreecommitdiff
path: root/odb/odb.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/odb.cxx')
-rw-r--r--odb/odb.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/odb/odb.cxx b/odb/odb.cxx
index 7d3e871..8ccb2d7 100644
--- a/odb/odb.cxx
+++ b/odb/odb.cxx
@@ -271,9 +271,7 @@ main (int argc, char* argv[])
file = dd / file; // For diagnostics.
}
- int ac (3);
- const char* av[4] = {argv[0], "--file", file.string ().c_str (), 0};
- cli::argv_file_scanner s (ac, const_cast<char**> (av), "--file");
+ cli::argv_file_scanner s (file.string ());
bool first_x (true);