Mercurial > vim
comparison src/version.c @ 15967:ddd82b1c9e9d v8.1.0989
patch 8.1.0989: various small code ugliness
commit https://github.com/vim/vim/commit/bdace838c67c1bd94e55e34270a8325933891466
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 2 10:13:42 2019 +0100
patch 8.1.0989: various small code ugliness
Problem: Various small code ugliness.
Solution: Remove pointless NULL checks. Fix function calls. Fix typos.
(Dominique Pelle, closes #4060)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 02 Mar 2019 10:15:06 +0100 |
parents | f376cd250b07 |
children | 9cc42db77a54 |
comparison
equal
deleted
inserted
replaced
15966:04e63da5e0b3 | 15967:ddd82b1c9e9d |
---|---|
39 void | 39 void |
40 init_longVersion(void) | 40 init_longVersion(void) |
41 { | 41 { |
42 /* | 42 /* |
43 * Construct the long version string. Necessary because | 43 * Construct the long version string. Necessary because |
44 * VAX C can't catenate strings in the preprocessor. | 44 * VAX C can't concatenate strings in the preprocessor. |
45 */ | 45 */ |
46 strcpy(longVersion, VIM_VERSION_LONG_DATE); | 46 strcpy(longVersion, VIM_VERSION_LONG_DATE); |
47 strcat(longVersion, __DATE__); | 47 strcat(longVersion, __DATE__); |
48 strcat(longVersion, " "); | 48 strcat(longVersion, " "); |
49 strcat(longVersion, __TIME__); | 49 strcat(longVersion, __TIME__); |
777 NULL | 777 NULL |
778 }; | 778 }; |
779 | 779 |
780 static int included_patches[] = | 780 static int included_patches[] = |
781 { /* Add new patch number below this line */ | 781 { /* Add new patch number below this line */ |
782 /**/ | |
783 989, | |
782 /**/ | 784 /**/ |
783 988, | 785 988, |
784 /**/ | 786 /**/ |
785 987, | 787 987, |
786 /**/ | 788 /**/ |