aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <egil@erlang.org>2011-09-16 16:00:30 +0200
committerBjörn-Egil Dahlberg <egil@erlang.org>2011-09-16 16:00:30 +0200
commita27dbff4ba4313b28bdfa132d6120e4b71d5986d (patch)
tree5f50e363d90da40a81aa6f1a2393797c5ebb947e /erts
parent2d6bb0b74427e29b9333bba57683472181243ba5 (diff)
downloadotp-a27dbff4ba4313b28bdfa132d6120e4b71d5986d.tar.gz
otp-a27dbff4ba4313b28bdfa132d6120e4b71d5986d.tar.bz2
otp-a27dbff4ba4313b28bdfa132d6120e4b71d5986d.zip
erts: Remove compiler warning in sys.c
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/sys/unix/sys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/sys/unix/sys.c b/erts/emulator/sys/unix/sys.c
index cc08c1d20a..e5ee0df7fa 100644
--- a/erts/emulator/sys/unix/sys.c
+++ b/erts/emulator/sys/unix/sys.c
@@ -3087,10 +3087,10 @@ get_value(char* rest, char** argv, int* ip)
void
erl_sys_args(int* argc, char** argv)
{
- erts_smp_rwmtx_init(&environ_rwmtx, "environ");
-
int i, j;
+ erts_smp_rwmtx_init(&environ_rwmtx, "environ");
+
i = 1;
ASSERT(argc && argv);