0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.2.4958: a couple conditions are always true

Problem:    A couple conditions are always true.
Solution:   Remove the conditions. (Goc Dundar, closes #10428)
This commit is contained in:
=?UTF-8?q?Dundar=20G=C3=B6c?=
2022-05-15 13:59:11 +01:00
committed by Bram Moolenaar
parent b559b302e0
commit dd41037552
3 changed files with 32 additions and 33 deletions

View File

@@ -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
{