Removed scopes.
This commit is contained in:
parent
b1edaf677b
commit
71d4b81c6d
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user