From 24bf7a500ecad7091f92cf9063d0b6cbbf678db1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 13 Jan 2016 12:25:09 +0100 Subject: Add -pedantic to debug CFLAGS and fix resulting warnings --- config.def.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 1a549cd..918e5ce 100644 --- a/config.def.h +++ b/config.def.h @@ -54,7 +54,7 @@ static KeyBinding basic_movement[] = { { "", ACTION(WINDOW_HALFPAGE_DOWN) }, { "", ACTION(CURSOR_LINE_BEGIN) }, { "", ACTION(CURSOR_LINE_END) }, - { /* empty last element, array terminator */ }, + { 0 /* empty last element, array terminator */ }, }; static KeyBinding vis_movements[] = { @@ -116,7 +116,7 @@ static KeyBinding vis_movements[] = { { "?", ACTION(PROMPT_SEARCH_BACKWARD) }, { "`", ACTION(MARK_GOTO) }, { "'", ACTION(MARK_GOTO_LINE) }, - { /* empty last element, array terminator */ }, + { 0 /* empty last element, array terminator */ }, }; static KeyBinding vis_textobjs[] = { @@ -160,7 +160,7 @@ static KeyBinding vis_textobjs[] = { { "ie", ACTION(TEXT_OBJECT_ENTIRE_INNER) }, { "if", ACTION(TEXT_OBJECT_FUNCTION_INNER) }, { "il", ACTION(TEXT_OBJECT_LINE_INNER) }, - { /* empty last element, array terminator */ }, + { 0 /* empty last element, array terminator */ }, }; static KeyBinding vis_operators[] = { @@ -190,13 +190,13 @@ static KeyBinding vis_operators[] = { { "!", ACTION(OPERATOR_FILTER) }, { "=", ACTION(OPERATOR_FILTER_FMT) }, { "\"", ACTION(REGISTER) }, - { /* empty last element, array terminator */ }, + { 0 /* empty last element, array terminator */ }, }; static KeyBinding vis_operator_options[] = { { "v", ACTION(MOTION_CHARWISE) }, { "V", ACTION(MOTION_LINEWISE) }, - { /* empty last element, array terminator */ }, + { 0 /* empty last element, array terminator */ }, }; static KeyBinding vis_mode_normal[] = { @@ -268,7 +268,7 @@ static KeyBinding vis_mode_normal[] = { { "m", ACTION(MARK_SET) }, { "", ALIAS(":help") }, { "ga", ACTION(UNICODE_INFO) }, - { /* empty last element, array terminator */ }, + { 0 /* empty last element, array terminator */ }, }; static KeyBinding vis_mode_visual[] = { @@ -290,13 +290,13 @@ static KeyBinding vis_mode_visual[] = { { "s", ALIAS("c") }, { "J", ACTION(JOIN_LINES) }, { "o", ACTION(SELECTION_FLIP) }, - { /* empty last element, array terminator */ }, + { 0 /* empty last element, array terminator */ }, }; static KeyBinding vis_mode_visual_line[] = { { "v", ACTION(MODE_VISUAL) }, { "V", ACTION(MODE_NORMAL) }, - { /* empty last element, array terminator */ }, + { 0 /* empty last element, array terminator */ }, }; static KeyBinding vis_mode_readline[] = { @@ -309,7 +309,7 @@ static KeyBinding vis_mode_readline[] = { { "", ACTION(DELETE_WORD_PREV) }, { "", ACTION(DELETE_LINE_BEGIN) }, { "", ACTION(INSERT_VERBATIM) }, - { /* empty last element, array terminator */ }, + { 0 /* empty last element, array terminator */ }, }; static KeyBinding vis_mode_prompt[] = { @@ -318,7 +318,7 @@ static KeyBinding vis_mode_prompt[] = { { "", ACTION(PROMPT_ENTER) }, { "", ALIAS("") }, { "", ACTION(NOP) }, - { /* empty last element, array terminator */ }, + { 0 /* empty last element, array terminator */ }, }; static KeyBinding vis_mode_insert[] = { @@ -335,9 +335,9 @@ static KeyBinding vis_mode_insert[] = { { "", ACTION(WINDOW_SLIDE_DOWN) }, { "", ACTION(INSERT_TAB) }, { "", ACTION(INSERT_REGISTER) }, - { /* empty last element, array terminator */ }, + { 0 /* empty last element, array terminator */ }, }; static KeyBinding vis_mode_replace[] = { - { /* empty last element, array terminator */ }, + { 0 /* empty last element, array terminator */ }, }; -- cgit v1.2.3