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:
Dirk Hohndel 2016-04-30 10:36:27 -07:00
parent d943050a93
commit 7afcadef53

View file

@ -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;