Re: [vim/vim] Resolve warning about undefined behavior (#2946)

2018-05-23 Fir de Conversatie Bram Moolenaar
Michael Jarvis wrote: > Disclaimer: I'm sure there's a more elegant way to achieve the same > result. :-) Using a variable will avoid duplicating the code. -- I have read and understood the above. X /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\

Re: [vim/vim] Resolve warning about undefined behavior (#2946)

2018-05-22 Fir de Conversatie Michael Jarvis
Disclaimer: I'm sure there's a more elegant way to achieve the same result. :-) On Tuesday, May 22, 2018 at 5:49:54 PM UTC-5, Michael Jarvis wrote: > This bug is very similar to another issue I reported, that was fixed > > in patch 7.4.1819. > > The error message is: > term.c:2877:2: