diff --git a/Userland/Utilities/grep.cpp b/Userland/Utilities/grep.cpp index e3a1a729e0..91de6dc2f0 100644 --- a/Userland/Utilities/grep.cpp +++ b/Userland/Utilities/grep.cpp @@ -129,7 +129,7 @@ int main(int argc, char** argv) return 1; } - auto matches = [&](StringView str, StringView filename = "", bool print_filename = false, bool is_binary = false) { + auto matches = [&](StringView str, StringView filename, bool print_filename, bool is_binary) { size_t last_printed_char_pos { 0 }; if (is_binary && binary_mode == BinaryFileMode::Skip) return false;