unnecessary comparison of digit to '\0'.
int ch_save;
start = *format_ptr;
- for (; **format_ptr; (*format_ptr)++)
- if (!ISDIGIT (**format_ptr))
- break;
+ for (; ISDIGIT (**format_ptr); (*format_ptr)++)
+ continue;
ch_save = **format_ptr;
**format_ptr = '\0';
}
start = *format_ptr;
- for (; **format_ptr; (*format_ptr)++)
- if (!ISDIGIT (**format_ptr))
- break;
+ for (; ISDIGIT (**format_ptr); (*format_ptr)++)
+ continue;
/* ANSI 4.9.6.1 says that if the precision is negative, it's as good as
not there. */