mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +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();
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue