mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Removed Warnings
This patch removes a warning and a function call that shouldn't be there. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
96d1cc570e
commit
21c32d7f03
1 changed files with 1 additions and 2 deletions
3
main.cpp
3
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue