diff options
author | Björn-Egil Dahlberg <[email protected]> | 2011-09-16 16:00:30 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2011-09-16 16:00:30 +0200 |
commit | a27dbff4ba4313b28bdfa132d6120e4b71d5986d (patch) | |
tree | 5f50e363d90da40a81aa6f1a2393797c5ebb947e /erts/emulator/sys/unix | |
parent | 2d6bb0b74427e29b9333bba57683472181243ba5 (diff) | |
download | otp-a27dbff4ba4313b28bdfa132d6120e4b71d5986d.tar.gz otp-a27dbff4ba4313b28bdfa132d6120e4b71d5986d.tar.bz2 otp-a27dbff4ba4313b28bdfa132d6120e4b71d5986d.zip |
erts: Remove compiler warning in sys.c
Diffstat (limited to 'erts/emulator/sys/unix')
-rw-r--r-- | erts/emulator/sys/unix/sys.c | 4 |
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); |