Removed scopes.

This commit is contained in:
Armin Novak 2015-03-30 11:06:56 +02:00 committed by Bernhard Miklautz
parent b1edaf677b
commit 71d4b81c6d

View File

@ -381,7 +381,6 @@ int WLog_ParseFilters()
if (!env)
return -1;
{
nSize = GetEnvironmentVariableA("WLOG_FILTER", env, nSize);
count = 1;
p = env;
@ -394,8 +393,7 @@ int WLog_ParseFilters()
g_FilterCount = count;
p = env;
}
{
count = 0;
strs = (LPCSTR*) calloc(g_FilterCount, sizeof(LPCSTR));
@ -414,7 +412,6 @@ int WLog_ParseFilters()
*p = '\0';
p++;
}
}
g_Filters = calloc(g_FilterCount, sizeof(wLogFilter));