From 81144dc4011e30870d652402b1c8852fb44af85e Mon Sep 17 00:00:00 2001 From: Matthew Brush Date: Wed, 20 Dec 2017 15:46:35 -0800 Subject: [PATCH] Fix missing initializer for field warnings This is basically a false-positive by GCC since static variables are unambiguously zeroed-out per the language standard, but the workaround is simple enough. --- ctags/main/xtag.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ctags/main/xtag.c b/ctags/main/xtag.c index 1c2859c9d..105a3657d 100644 --- a/ctags/main/xtag.c +++ b/ctags/main/xtag.c @@ -27,18 +27,18 @@ static bool isPseudoTagsEnabled (xtagDesc *pdesc CTAGS_ATTR_UNUSED) static xtagDesc xtagDescs [] = { { true, 'F', "fileScope", - "Include tags of file scope" }, + "Include tags of file scope", NULL}, { false, 'f', "inputFile", - "Include an entry for the base file name of every input file"}, + "Include an entry for the base file name of every input file", NULL}, { false, 'p', "pseudo", "Include pseudo tags", isPseudoTagsEnabled}, { false, 'q', "qualified", - "Include an extra class-qualified tag entry for each tag"}, + "Include an extra class-qualified tag entry for each tag", NULL}, { false, 'r', "reference", - "Include reference tags"}, + "Include reference tags", NULL}, { false, 's', "subparser", - "Include tags generated by sub parsers"}, + "Include tags generated by sub parsers", NULL}, }; extern xtagDesc* getXtagDesc (xtagType type) -- 2.11.4.GIT