aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/src/misc
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-01-03 17:28:36 +0100
committerBjörn-Egil Dahlberg <[email protected]>2012-01-03 17:28:36 +0100
commit2916093c109151116a264f93af87c7b648acd8ca (patch)
tree66cb5009d4745ae026bef95f29f575dbc49eb9bd /lib/erl_interface/src/misc
parentdee544bb02343ddde2b7be79dfe1d11b602b3a80 (diff)
downloadotp-2916093c109151116a264f93af87c7b648acd8ca.tar.gz
otp-2916093c109151116a264f93af87c7b648acd8ca.tar.bz2
otp-2916093c109151116a264f93af87c7b648acd8ca.zip
ei: Remove unused variable in ei_format.c
Diffstat (limited to 'lib/erl_interface/src/misc')
-rw-r--r--lib/erl_interface/src/misc/ei_format.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/erl_interface/src/misc/ei_format.c b/lib/erl_interface/src/misc/ei_format.c
index cf50f12451..c1e5d998e4 100644
--- a/lib/erl_interface/src/misc/ei_format.c
+++ b/lib/erl_interface/src/misc/ei_format.c
@@ -149,7 +149,7 @@ static int pdigit(const char** fmt, ei_x_buff* x)
{
const char* start = *fmt;
char c;
- int len, dotp=0;
+ int dotp=0;
double d;
long l;
@@ -166,7 +166,6 @@ static int pdigit(const char** fmt, ei_x_buff* x)
break;
}
--(*fmt);
- len = *fmt - start;
if (dotp) {
sscanf(start, "%lf", &d);
return ei_x_encode_double(x, d);