Module Name:    src
Committed By:   christos
Date:           Sun Oct 20 21:35:46 UTC 2013

Modified Files:
        src/external/historical/nawk/dist: lib.c

Log Message:
remove unused variable


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/historical/nawk/dist/lib.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/historical/nawk/dist/lib.c
diff -u src/external/historical/nawk/dist/lib.c:1.7 src/external/historical/nawk/dist/lib.c:1.8
--- src/external/historical/nawk/dist/lib.c:1.7	Sat Dec 29 09:51:41 2012
+++ src/external/historical/nawk/dist/lib.c	Sun Oct 20 17:35:46 2013
@@ -753,10 +753,9 @@ int isclvar(const char *s)	/* is s of fo
 #include <math.h>
 int is_number(const char *s)
 {
-	double r;
 	char *ep;
 	errno = 0;
-	r = strtod(s, &ep);
+	(void)strtod(s, &ep);
 	if (ep == s || errno == ERANGE)
 		return 0;
 	if (ep - s >= 3 && strncasecmp(ep - 3, "nan", 3) == 0)

Reply via email to