Removed strange checkj for !filename, so we don't get section NULL
accesses later.
diff --git a/files/profile.c b/files/profile.c
index f7d320b..1472038 100644
--- a/files/profile.c
+++ b/files/profile.c
@@ -1485,7 +1485,7 @@
EnterCriticalSection( &PROFILE_CritSect );
if (PROFILE_Open( filename )) {
- if (!section && !string && !filename)
+ if (!section && !string)
PROFILE_ReleaseFile(); /* always return FALSE in this case */
else if (!string) /* delete the named section*/
ret = PROFILE_SetString(section,NULL,NULL);