clean: remove useless var
This commit is contained in:
parent
27ec2f24c2
commit
9c2bc0aa6c
@ -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') {
|
||||||
|
Loading…
Reference in New Issue
Block a user