mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remove pointless code
This isn't how you remove the default filename Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d943050a93
commit
7afcadef53
1 changed files with 0 additions and 2 deletions
|
@ -40,8 +40,6 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
git_libgit2_init();
|
git_libgit2_init();
|
||||||
setup_system_prefs();
|
setup_system_prefs();
|
||||||
free((void*)prefs.default_filename);
|
|
||||||
prefs.default_filename = NULL;
|
|
||||||
if (uiLanguage(0).contains("-US"))
|
if (uiLanguage(0).contains("-US"))
|
||||||
default_prefs.units = IMPERIAL_units;
|
default_prefs.units = IMPERIAL_units;
|
||||||
prefs = default_prefs;
|
prefs = default_prefs;
|
||||||
|
|
Loading…
Add table
Reference in a new issue