diff options
author | =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com> | 2022-05-15 13:59:11 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-05-15 13:59:11 +0100 |
commit | dd41037552c1be3548d2ce34bb1c889f14edb553 (patch) | |
tree | 92d4352bf89c6918c9c7e5254c438bc183997bfb /src/quickfix.c | |
parent | b559b302e0ecc6fced03d5201dc30f10cff7af0a (diff) | |
download | vim-git-dd41037552c1be3548d2ce34bb1c889f14edb553.tar.gz |
patch 8.2.4958: a couple conditions are always truev8.2.4958
Problem: A couple conditions are always true.
Solution: Remove the conditions. (Goc Dundar, closes #10428)
Diffstat (limited to 'src/quickfix.c')
-rw-r--r-- | src/quickfix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quickfix.c b/src/quickfix.c index aab1683f3..dde3f9d56 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -2494,7 +2494,7 @@ qf_push_dir(char_u *dirbuf, struct dir_stack_T **stackptr, int is_file_stack) // store directory on the stack if (vim_isAbsName(dirbuf) || (*stackptr)->next == NULL - || (*stackptr && is_file_stack)) + || is_file_stack) (*stackptr)->dirname = vim_strsave(dirbuf); else { |