NetworkTools: Fix incorrect geoip database path check
@@ -57,11 +57,8 @@ PPH_STRING NetToolsGetGeoLiteDbPath(
PhDereferenceObject(directory);
}
- if (PhDoesFileExistsWin32(PhGetString(fileName)))
- {
return fileName;
}
- }
PhClearReference(&fileName);
@@ -73,7 +70,6 @@ BOOLEAN NetToolsGeoLiteInitialized(
)
{
static PH_INITONCE initOnce = PH_INITONCE_INIT;
- static BOOLEAN initialized = FALSE;
if (PhBeginInitOnce(&initOnce))
{
