From 7afcadef532a06de7ae9bf515e81971babd139fa Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 30 Apr 2016 10:36:27 -0700 Subject: Remove pointless code This isn't how you remove the default filename Signed-off-by: Dirk Hohndel --- subsurface-mobile-main.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp index a354aa429..b7259c44a 100644 --- a/subsurface-mobile-main.cpp +++ b/subsurface-mobile-main.cpp @@ -40,8 +40,6 @@ int main(int argc, char **argv) } git_libgit2_init(); setup_system_prefs(); - free((void*)prefs.default_filename); - prefs.default_filename = NULL; if (uiLanguage(0).contains("-US")) default_prefs.units = IMPERIAL_units; prefs = default_prefs; -- cgit v1.2.3-70-g09d2