From 03199814a1ebed0c81ad35c294502ad15b60179f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Mon, 19 Jun 2000 20:26:53 -0700 Subject: [PATCH] bugfix Rev: src/port.c:1.24 --- src/port.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/port.c b/src/port.c index 0a4ede3b69..1519817410 100644 --- a/src/port.c +++ b/src/port.c @@ -17,7 +17,7 @@ #include <float.h> #include <string.h> -RCSID("$Id: port.c,v 1.23 2000/06/08 22:06:47 hubbe Exp $"); +RCSID("$Id: port.c,v 1.24 2000/06/20 03:26:53 hubbe Exp $"); #ifdef sun time_t time PROT((time_t *)); @@ -402,11 +402,6 @@ double STRTOD(char * nptr, char **endptr) /* Eat whitespace. */ while (ISSPACE(*s)) ++s; - /* Get the sign. */ - sign = *s == '-' ? -1 : 1; - if (*s == '-' || *s == '+') - ++s; - /* Get the sign. */ sign = *s == '-' ? -1 : 1; if (*s == '-' || *s == '+') -- GitLab