clean: remove useless var

This commit is contained in:
starnakin 2024-09-07 11:22:54 +02:00
parent 27ec2f24c2
commit 9c2bc0aa6c

View File

@ -26,9 +26,7 @@ static int print_flag(char flag, va_list ap)
int kvprintf(int level, const char *restrict format, va_list ap) int kvprintf(int level, const char *restrict format, va_list ap)
{ {
const char *start = format; const char *start = format;
const char *flag;
int ret = 0; int ret = 0;
size_t len;
while (*start != '\0') { while (*start != '\0') {
if (*start == '%' && *(start + 1) != '\0') { if (*start == '%' && *(start + 1) != '\0') {