aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/cursor_shape.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/cursor_shape.c b/src/nvim/cursor_shape.c
index 5551576c6d..0377cb97e5 100644
--- a/src/nvim/cursor_shape.c
+++ b/src/nvim/cursor_shape.c
@@ -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.