summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2009-01-11 08:45:24 +0100
committerJulien Cristau <jcristau@debian.org>2009-01-11 08:54:13 +0100
commit63ff7d236f67e159943312e1a551fcf5bb3f463a (patch)
tree390332798be9d1d7bbd7276dcc47ff12cb68d33c /os
parentf43a3c61ab1eab8aecdc0e4bdee9f3bae2cab234 (diff)
os: don't mix declarations and code
Diffstat (limited to 'os')
-rw-r--r--os/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/utils.c b/os/utils.c
index e8d11f806..b630d9d9e 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -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)
{