diff --git a/Userland/Libraries/LibC/scanf.cpp b/Userland/Libraries/LibC/scanf.cpp index a7f05fa43ab..264ff733fe5 100644 --- a/Userland/Libraries/LibC/scanf.cpp +++ b/Userland/Libraries/LibC/scanf.cpp @@ -612,7 +612,6 @@ extern "C" int vsscanf(const char* input, const char* format, va_list ap) auto* ptr = va_arg(ap, int*); *ptr = input_lexer.tell(); } - ++elements_matched; break; } }