From 21c32d7f032e302d1cc167b5acd70f37c24453b1 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 9 Sep 2013 06:20:10 -0300 Subject: Removed Warnings This patch removes a warning and a function call that shouldn't be there. Signed-off-by: Tomaz Canabrava --- main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 68e8c3708..83c0e12de 100644 --- a/main.cpp +++ b/main.cpp @@ -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); -- cgit v1.2.3-70-g09d2