File tree 2 files changed +0
-4
lines changed
2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -522,7 +522,6 @@ static timelib_sll timelib_get_frac_nr(const char **ptr)
522
522
const char *begin, *end;
523
523
char *str;
524
524
double tmp_nr = TIMELIB_UNSET;
525
- int len = 0;
526
525
527
526
while ((**ptr != '.') && (**ptr != ':') && ((**ptr < '0') || (**ptr > '9'))) {
528
527
if (**ptr == '\0') {
@@ -533,7 +532,6 @@ static timelib_sll timelib_get_frac_nr(const char **ptr)
533
532
begin = *ptr;
534
533
while ((**ptr == '.') || (**ptr == ':') || ((**ptr >= '0') && (**ptr <= '9'))) {
535
534
++*ptr;
536
- ++len;
537
535
}
538
536
end = *ptr;
539
537
str = timelib_calloc(1, end - begin);
Original file line number Diff line number Diff line change @@ -520,7 +520,6 @@ static timelib_sll timelib_get_frac_nr(const char **ptr)
520
520
const char * begin , * end ;
521
521
char * str ;
522
522
double tmp_nr = TIMELIB_UNSET ;
523
- int len = 0 ;
524
523
525
524
while ((* * ptr != '.' ) && (* * ptr != ':' ) && ((* * ptr < '0' ) || (* * ptr > '9' ))) {
526
525
if (* * ptr == '\0' ) {
@@ -531,7 +530,6 @@ static timelib_sll timelib_get_frac_nr(const char **ptr)
531
530
begin = * ptr ;
532
531
while ((* * ptr == '.' ) || (* * ptr == ':' ) || ((* * ptr >= '0' ) && (* * ptr <= '9' ))) {
533
532
++ * ptr ;
534
- ++ len ;
535
533
}
536
534
end = * ptr ;
537
535
str = timelib_calloc (1 , end - begin );
You can’t perform that action at this time.
0 commit comments