aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/highlight.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/highlight.cpp')
-rw-r--r--src/highlight.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/highlight.cpp b/src/highlight.cpp
index a92edae3..f34505cf 100644
--- a/src/highlight.cpp
+++ b/src/highlight.cpp
@@ -214,8 +214,7 @@ static bool is_potential_cd_path(const wcstring &path, const wcstring &working_d
}
// Call is_potential_path with all of these directories.
- bool result = is_potential_path(path, directories, flags | PATH_REQUIRE_DIR);
- return result;
+ return is_potential_path(path, directories, flags | PATH_REQUIRE_DIR);
}
// Given a plain statement node in a parse tree, get the command and return it, expanded