Mercurial > vim
comparison src/version.c @ 28600:17251b82b69a v8.2.4824
patch 8.2.4824: expression is evaluated multiple times
Commit: https://github.com/vim/vim/commit/23d5770ef5e2f5c6d20d123303b81327045e5a1e
Author: zeertzjq <zeertzjq@outlook.com>
Date: Mon Apr 25 13:28:00 2022 +0100
patch 8.2.4824: expression is evaluated multiple times
Problem: Expression is evaluated multiple times.
Solution: Evaluate expression once and store the result. (closes https://github.com/vim/vim/issues/10278)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 25 Apr 2022 14:30:03 +0200 |
parents | d550054e1328 |
children | 398c5b3211f9 |
comparison
equal
deleted
inserted
replaced
28599:21b38da3ec22 | 28600:17251b82b69a |
---|---|
744 NULL | 744 NULL |
745 }; | 745 }; |
746 | 746 |
747 static int included_patches[] = | 747 static int included_patches[] = |
748 { /* Add new patch number below this line */ | 748 { /* Add new patch number below this line */ |
749 /**/ | |
750 4824, | |
749 /**/ | 751 /**/ |
750 4823, | 752 4823, |
751 /**/ | 753 /**/ |
752 4822, | 754 4822, |
753 /**/ | 755 /**/ |