summaryrefslogtreecommitdiffstats
path: root/subsurface-mobile-main.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-30 10:36:27 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-30 11:07:58 -0700
commit7afcadef532a06de7ae9bf515e81971babd139fa (patch)
treed676ee7e6c15cafd20cc66da6b1c7c2cd4357e71 /subsurface-mobile-main.cpp
parentd943050a93ba59d500fa3196d00529e7b2e6b925 (diff)
downloadsubsurface-7afcadef532a06de7ae9bf515e81971babd139fa.tar.gz
Remove pointless code
This isn't how you remove the default filename Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-mobile-main.cpp')
-rw-r--r--subsurface-mobile-main.cpp2
1 files changed, 0 insertions, 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;