[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] xstrtol.c lint removal
From: |
Paul Eggert |
Subject: |
[Bug-gnulib] xstrtol.c lint removal |
Date: |
12 Nov 2003 23:24:11 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
I installed this minor change. The code in question has apparently
been in use since 1994, but somebody found a recent compiler that
complains about it.
2003-11-12 Paul Eggert <address@hidden>
* xstrtol.c (__xstrtol): Remove "break" immediately after
"return", to pacify some unknown compiler. Problem reported
by Joerg Schilling.
Index: xstrtol.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/xstrtol.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -p -u -r1.33 -r1.34
--- xstrtol.c 14 Oct 2003 20:08:26 -0000 1.33
+++ xstrtol.c 13 Nov 2003 05:17:20 -0000 1.34
@@ -248,7 +248,6 @@ __xstrtol (const char *s, char **ptr, in
default:
*val = tmp;
return err | LONGINT_INVALID_SUFFIX_CHAR;
- break;
}
err |= overflow;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gnulib] xstrtol.c lint removal,
Paul Eggert <=