-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
dbd0573
commit 81144dc
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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}, | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
codebrainz
Author
Member
|
||
}; | ||
|
||
extern xtagDesc* getXtagDesc (xtagType type) | ||
|
same, might be interesting to send upstream