Mercurial > vim
view src/testdir/dumps/Test_terminal_popup_7.dump @ 19671:897cb43a5c72 v8.2.0392
patch 8.2.0392: Coverity warns for using array index out of range
Commit: https://github.com/vim/vim/commit/56cb3378727783da2d246b9c5091784821666cfa
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 16 20:04:41 2020 +0100
patch 8.2.0392: Coverity warns for using array index out of range
Problem: Coverity warns for using array index out of range.
Solution: Add extra "if" to avoid warning.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 16 Mar 2020 20:15:04 +0100 |
parents | 283c8bc6a8e2 |
children | 47385c831d92 |
line wrap: on
line source
|0+0&#ffffff0| @73 |1| @73 |2| @73 |3| @12|╔+0#0000001#ffd7ff255|═@44|╗| +0#0000000#ffffff0@13 |4| @12|║+0#0000001#ffd7ff255|s|o|m|e| |t|e|x|t| @35|║| +0#0000000#ffffff0@13 |5| @12|║+0#0000001#ffd7ff255|t|o| |e+0&#ffff4012|d|i|t| +0&#ffd7ff255@37|║| +0#0000000#ffffff0@13 |6| @12|║+0#0000001#ffd7ff255|i+0&#e0e0e08|n| |a| >p+0&#ffd7ff255|o|p|u|p| |w|i|n|d|o|w| @27|║| +0#0000000#ffffff0@13 |7| @12|║+0#0000001#ffd7ff255|~+0#4040ff13&| @43|║+0#0000001&| +0#0000000#ffffff0@13 |8| @12|║+0#0000001#ffd7ff255|~+0#4040ff13&| @43|║+0#0000001&| +0#0000000#ffffff0@13 |9| @12|║+0#0000001#ffd7ff255|~+0#4040ff13&| @43|║+0#0000001&| +0#0000000#ffffff0@13 |1|0| @11|║+0#0000001#ffd7ff255|/|e|d|i|t| @21|2|,|4| @10|A|l@1| |║| +0#0000000#ffffff0@13 |1@1| @11|╚+0#0000001#ffd7ff255|═@44|╝| +0#0000000#ffffff0@13 |1|2| @72 |1|3| @72 |-+2&&@1| |V|I|S|U|A|L| |-@1| +0&&@51|6| @9