mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 15:28:17 +00:00
clang/"Assigned garbage": parse_shape_opt
False positive, see b6c1fae6a9
. Clang ignores the assert introduced in
that commit?
This commit is contained in:
@@ -88,12 +88,13 @@ char_u *parse_shape_opt(int what)
|
||||
char_u *colonp;
|
||||
char_u *commap;
|
||||
char_u *slashp;
|
||||
char_u *p, *endp;
|
||||
int idx = 0; /* init for GCC */
|
||||
char_u *p = NULL;
|
||||
char_u *endp;
|
||||
int idx = 0; // init for GCC
|
||||
int all_idx;
|
||||
int len;
|
||||
int i;
|
||||
int found_ve = false; /* found "ve" flag */
|
||||
int found_ve = false; // found "ve" flag
|
||||
int round;
|
||||
|
||||
// First round: check for errors; second round: do it for real.
|
||||
|
Reference in New Issue
Block a user