Patch 8.2.1880

2020-10-21 Thread Bram Moolenaar
Patch 8.2.1880 Problem:Vim9: Asan complains about adding zero to NULL. Solution: Check for argument count first. Files: src/vim9compile.c *** ../vim-8.2.1879/src/vim9compile.c 2020-10-21 16:42:18.517821898 +0200 --- src/vim9compile.c 2020-10-21 16:47:57.057129882 +0200

Re: Patch 8.2.1880

2020-10-21 Thread John Marriott
On 22-Oct-2020 01:50, Bram Moolenaar wrote: Patch 8.2.1880 Problem:Vim9: Asan complains about adding zero to NULL. Solution: Check for argument count first. Files: src/vim9compile.c After this patch mingw64 (gcc 10.2) throws this warning: gcc -c -I. -Iproto -DWIN32 -DWINVER

Re: Patch 8.2.1880

2020-10-21 Thread Bram Moolenaar
John Marriott wrote: > On 22-Oct-2020 01:50, Bram Moolenaar wrote: > > Patch 8.2.1880 > > Problem:Vim9: Asan complains about adding zero to NULL. > > Solution: Check for argument count first. > > Files: src/vim9compile.c > > > > > > >