From 48ee112fff0c245b87b09d69eda60c88a55d4066 Mon Sep 17 00:00:00 2001 From: speckdavid Date: Thu, 18 Jul 2024 11:00:16 +0200 Subject: [PATCH] removed unncessary variable --- src/search/command_line.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/search/command_line.cc b/src/search/command_line.cc index 9149c84e34..64dc58bb80 100644 --- a/src/search/command_line.cc +++ b/src/search/command_line.cc @@ -187,10 +187,8 @@ shared_ptr parse_cmd_line( static void complete_filename(const string &prefix, vector &suggestions) { // Split into directory and file_prefix - string partial_filename = ""; filesystem::path prefix_path(prefix); if (!filesystem::is_directory(prefix_path)) { - partial_filename = prefix_path.filename(); prefix_path = prefix_path.parent_path(); }