From: Bram Moolenaar Date: Sat, 12 Aug 2017 13:15:33 +0000 (+0200) Subject: patch 8.0.0915: wrong initialisation of global X-Git-Tag: v8.0.0915 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7eedd4398aee195212bd06004d3533ca24c0823c;p=vim patch 8.0.0915: wrong initialisation of global Problem: Wrong initialisation of global. Solution: Use INIT(). --- diff --git a/src/globals.h b/src/globals.h index d42056098..8fb12050e 100644 --- a/src/globals.h +++ b/src/globals.h @@ -1672,7 +1672,7 @@ EXTERN int *eval_lavars_used INIT(= NULL); #endif #ifdef WIN3264 -EXTERN int ctrl_break_was_pressed = FALSE; +EXTERN int ctrl_break_was_pressed INIT(= FALSE); #endif /* diff --git a/src/version.c b/src/version.c index 72701c94b..306aeb428 100644 --- a/src/version.c +++ b/src/version.c @@ -769,6 +769,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 915, /**/ 914, /**/