From 1b7f3a9f2cf4cee1f3c1848a2538ae350cbec7d1 Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 28 Feb 2015 19:41:31 +0100 Subject: [PATCH] parser/inpeval.c, this cannot happen here --- src/spicelib/parser/inpeval.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/spicelib/parser/inpeval.c b/src/spicelib/parser/inpeval.c index 436ab3e59..88939a872 100644 --- a/src/spicelib/parser/inpeval.c +++ b/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++; } }