diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-09-09 06:20:10 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-09-09 06:20:10 -0300 |
commit | 21c32d7f032e302d1cc167b5acd70f37c24453b1 (patch) | |
tree | 05639658454bf07900d49d931ba5b67cd7d97173 /main.cpp | |
parent | 96d1cc570e31396039e4970d2bf75d5f00f1e550 (diff) | |
download | subsurface-21c32d7f032e302d1cc167b5acd70f37c24453b1.tar.gz |
Removed Warnings
This patch removes a warning and a function call that
shouldn't be there.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -18,7 +18,6 @@ int main(int argc, char **argv) int i; bool no_filenames = TRUE; const char *path; - char *error_message = NULL; /* set up l18n - the search directory needs to change * so that it uses the correct system directory when @@ -52,7 +51,7 @@ int main(int argc, char **argv) if (no_filenames) { files.push_back( QString(prefs.default_filename) ); } - process_dives(imported, FALSE); + parse_xml_exit(); subsurface_command_line_exit(&argc, &argv); mainWindow()->loadFiles(files); |