mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 13:58:18 +00:00
vim-patch:8.0.0204: compiler warns for uninitialized variable
Problem: Compiler warns for uninitialized variable. (Tony Mechelynck)
Solution: When skipping set "id" to -1.
eb46f8fa14
This commit is contained in:
@@ -5283,7 +5283,9 @@ get_id_list (
|
||||
id = SYNID_CONTAINED;
|
||||
id += current_syn_inc_tag;
|
||||
} else if (name[1] == '@') {
|
||||
if (!skip) {
|
||||
if (skip) {
|
||||
id = -1;
|
||||
} else {
|
||||
id = syn_check_cluster(name + 2, (int)(end - p - 1));
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user