* strptime.cc (_strptime): Fix gcc warnings.
This commit is contained in:
parent
6381783f61
commit
9cd22f86fc
|
@ -1,3 +1,7 @@
|
||||||
|
2005-11-18 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* strptime.cc (_strptime): Fix gcc warnings.
|
||||||
|
|
||||||
2005-11-18 Christopher Faylor <cgf@timesys.com>
|
2005-11-18 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* memmem.cc: Move from here.
|
* memmem.cc: Move from here.
|
||||||
|
|
|
@ -311,6 +311,7 @@ label:
|
||||||
|
|
||||||
case 'A':
|
case 'A':
|
||||||
case 'a':
|
case 'a':
|
||||||
|
len = 0;
|
||||||
for (i = 0; i < asizeof(tptr->weekday); i++) {
|
for (i = 0; i < asizeof(tptr->weekday); i++) {
|
||||||
len = strlen(tptr->weekday[i]);
|
len = strlen(tptr->weekday[i]);
|
||||||
if (strncasecmp(buf, tptr->weekday[i],
|
if (strncasecmp(buf, tptr->weekday[i],
|
||||||
|
@ -400,6 +401,7 @@ label:
|
||||||
case 'B':
|
case 'B':
|
||||||
case 'b':
|
case 'b':
|
||||||
case 'h':
|
case 'h':
|
||||||
|
len = 0;
|
||||||
for (i = 0; i < asizeof(tptr->month); i++) {
|
for (i = 0; i < asizeof(tptr->month); i++) {
|
||||||
if (Oalternative) {
|
if (Oalternative) {
|
||||||
if (c == 'B') {
|
if (c == 'B') {
|
||||||
|
|
Loading…
Reference in New Issue