Skip to content

Commit

Permalink
ei: Remove unused variable in ei_format.c
Browse files Browse the repository at this point in the history
  • Loading branch information
psyeugenic committed Jan 3, 2012
1 parent dee544b commit 2916093
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/erl_interface/src/misc/ei_format.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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);
Expand Down

0 comments on commit 2916093

Please sign in to comment.