From fd25a53d1be1d324fab3fb7c1cd7aba96c1e5f96 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 23 Jan 2005 10:47:15 +0000 Subject: [PATCH] (svn r1605) Remove redundant if --- settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.c b/settings.c index f399433a50..31af159fc8 100644 --- a/settings.c +++ b/settings.c @@ -574,7 +574,7 @@ static void load_setting_desc(IniFile *ini, const SettingDesc *desc, const void } break; case SDT_STRING: - if (*(char**)ptr) free(*(char**)ptr); + free(*(char**)ptr); *(char**)ptr = strdup((const char*)p); break; case SDT_STRINGBUF: