diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/globals.h | 2 | ||||
-rw-r--r-- | src/nvim/macros.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h index 9b4ef66b14..9fcde4f17a 100644 --- a/src/nvim/globals.h +++ b/src/nvim/globals.h @@ -320,7 +320,7 @@ EXTERN int garbage_collect_at_exit INIT(= false); #define SID_STR (-10) // for sourcing a string with no script item // Script CTX being sourced or was sourced to define the current function. -EXTERN sctx_T current_sctx INIT(= { 0 COMMA 0 COMMA 0 }); +EXTERN sctx_T current_sctx INIT(= { 0, 0, 0 }); // ID of the current channel making a client API call EXTERN uint64_t current_channel_id INIT(= 0); diff --git a/src/nvim/macros.h b/src/nvim/macros.h index 9b7562e86f..242e3c381a 100644 --- a/src/nvim/macros.h +++ b/src/nvim/macros.h @@ -11,7 +11,6 @@ #else # ifndef INIT # define INIT(...) __VA_ARGS__ -# define COMMA , # endif #endif |