Browse Source

parser/inpeval.c, this cannot happen here

pre-master-46
rlar 11 years ago
parent
commit
1b7f3a9f2c
  1. 9
      src/spicelib/parser/inpeval.c

9
src/spicelib/parser/inpeval.c

@ -116,15 +116,6 @@ INPevaluate(char **line, int *error, int gobble)
/* digit, so accumulate it. */
mantis = 10 * mantis + *here - '0';
expo1 = expo1 - 1;
if (*here == '\0') {
/* reached the end of token - done. */
if (gobble) {
FREE(token);
} else {
*line = here;
}
return (mantis * sign * pow(10.0, (double) expo1));
}
here++;
}
}

Loading…
Cancel
Save