diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-01-17 06:34:34 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-17 06:34:34 +0800 |
| commit | 03494ad04879020eaaa1b0a50242590615eda15e (patch) | |
| tree | 2c62a003f2f263a9d81e3f528e7318ce155ac17d /runtime/syntax/python.vim | |
| parent | dde914f9260b08272f0914908717bbd6fc417699 (diff) | |
| download | rneovim-03494ad04879020eaaa1b0a50242590615eda15e.tar.gz rneovim-03494ad04879020eaaa1b0a50242590615eda15e.tar.bz2 rneovim-03494ad04879020eaaa1b0a50242590615eda15e.zip | |
vim-patch:9.1.2088: Redundant NULL checks in find_pattern_in_path() (#37432)
Problem: Redundant NULL checks in find_pattern_in_path().
Solution: Remove the NULL checks. Also fix typos in test_diffmode.vim
(zeertzjq).
After assigning to inc_opt on line 2976, it's dereferenced immediately,
and not assigned another value afterwards, so checking for NULL after
line 2977 is redundant.
closes: vim/vim#19185
https://github.com/vim/vim/commit/ce394b13e9df1f995525198887f0a2289410a7c5
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions