diff options
author | Björn-Egil Dahlberg <[email protected]> | 2010-07-26 15:21:38 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2010-07-27 14:32:50 +0200 |
commit | 77cb3bb8e2699dfa43bdcfa6e8e679bcaa8ce8b8 (patch) | |
tree | 3a0d6ba46600146970d419fdef85b85f60eec5b3 /lib/erl_interface/src/misc | |
parent | a2fb9485642c174117e6fe09189a53d2c510bb14 (diff) | |
download | otp-77cb3bb8e2699dfa43bdcfa6e8e679bcaa8ce8b8.tar.gz otp-77cb3bb8e2699dfa43bdcfa6e8e679bcaa8ce8b8.tar.bz2 otp-77cb3bb8e2699dfa43bdcfa6e8e679bcaa8ce8b8.zip |
Fix compiler warnings in erl_interface
- Removed unused variable in ei_decode_term.c
- Fixed faulty deallocation
Diffstat (limited to 'lib/erl_interface/src/misc')
-rw-r--r-- | lib/erl_interface/src/misc/ei_decode_term.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/erl_interface/src/misc/ei_decode_term.c b/lib/erl_interface/src/misc/ei_decode_term.c index ddcbfa5a9a..75c5dc9460 100644 --- a/lib/erl_interface/src/misc/ei_decode_term.c +++ b/lib/erl_interface/src/misc/ei_decode_term.c @@ -34,7 +34,6 @@ int ei_decode_ei_term(const char* buf, int* index, ei_term* term) const char* s = buf + *index, * s0 = s; int len, i, n, sign; char c; - double f; if (term == NULL) return -1; c = term->ei_type = get8(s); |