diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-02-25 22:37:38 +0100 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-02-26 09:04:36 +0100 |
commit | 36092f3a0cf12bfdeac777eb139314ca2deb6236 (patch) | |
tree | 02039786d1ae6102c11c28fee439a84a953f7dff /test/functional/shell/viml_system_spec.lua | |
parent | 61c98e7e35b18081a8f723406d5ed5f241ddbc96 (diff) | |
download | rneovim-36092f3a0cf12bfdeac777eb139314ca2deb6236.tar.gz rneovim-36092f3a0cf12bfdeac777eb139314ca2deb6236.tar.bz2 rneovim-36092f3a0cf12bfdeac777eb139314ca2deb6236.zip |
Fix warnings: message.c: copy_hotkeys_and_msg: Garbage value: FP. #2062
Problem : Branch condition evaluates to a garbage value @ 2868.
Diagnostic : False positive.
Rationale : Array has_hotkey, declared at 2812, is initialized by
console_dialog_alloc (only the needed number of elements).
That same number of elements is used by
copy_hotkeys_and_msg.
Suggested path error is impossible, because it involves a
different number of elements in those functions.
Resolution : Above condition is cumbersome to prove through assertions.
Thus, we prefer to just initialize the array to all-false
at declaration point before calling console_dialog_alloc.
Diffstat (limited to 'test/functional/shell/viml_system_spec.lua')
0 files changed, 0 insertions, 0 deletions