[geany/geany] 81144d: Fix missing initializer for field warnings
Matthew Brush
git-noreply at xxxxx
Fri Jan 12 22:09:34 UTC 2018
Branch: refs/heads/master
Author: Matthew Brush <matt at geany.org>
Committer: Matthew Brush <matt at geany.org>
Date: Thu, 21 Dec 2017 01:22:50 UTC
Commit: 81144dc4011e30870d652402b1c8852fb44af85e
https://github.com/geany/geany/commit/81144dc4011e30870d652402b1c8852fb44af85e
Log Message:
-----------
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.
Modified Paths:
--------------
ctags/main/xtag.c
Modified: ctags/main/xtag.c
10 lines changed, 5 insertions(+), 5 deletions(-)
===================================================================
@@ -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)
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list