os: don't mix declarations and code
This commit is contained in:
parent
f43a3c61ab
commit
63ff7d236f
|
@ -656,13 +656,13 @@ ProcessCommandLine(int argc, char *argv[])
|
|||
}
|
||||
else if ( strcmp( argv[i], "-core") == 0)
|
||||
{
|
||||
CoreDump = TRUE;
|
||||
#if !defined(WIN32) || !defined(__MINGW32__)
|
||||
struct rlimit core_limit;
|
||||
getrlimit (RLIMIT_CORE, &core_limit);
|
||||
core_limit.rlim_cur = core_limit.rlim_max;
|
||||
setrlimit (RLIMIT_CORE, &core_limit);
|
||||
#endif
|
||||
CoreDump = TRUE;
|
||||
}
|
||||
else if ( strcmp( argv[i], "-dpi") == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user