[geany/geany] d0cc3d: Remove TagEntryFunction check in c.c
Jiří Techet
git-noreply at xxxxx
Sat Sep 10 07:26:31 UTC 2016
Branch: refs/heads/master
Author: Jiří Techet <techet at gmail.com>
Committer: Jiří Techet <techet at gmail.com>
Date: Wed, 10 Aug 2016 09:55:02 UTC
Commit: d0cc3dc132558b277444c7b269874b1120ee806b
https://github.com/geany/geany/commit/d0cc3dc132558b277444c7b269874b1120ee806b
Log Message:
-----------
Remove TagEntryFunction check in c.c
It's always non-null in Geany, it's value is checked in makeTagEntry()
anyway and parsers shouldn't know about it.
Modified Paths:
--------------
ctags/parsers/c.c
Modified: ctags/parsers/c.c
3 lines changed, 1 insertions(+), 2 deletions(-)
===================================================================
@@ -1464,8 +1464,7 @@ static void makeTag (const tokenInfo *const token,
printTagEntry(&e);
#endif
makeTagEntry (&e);
- if (NULL != TagEntryFunction)
- makeExtraTagEntry (type, &e, scope);
+ makeExtraTagEntry (type, &e, scope);
vStringDelete (scope);
if (NULL != e.extensionFields.signature)
free((char *) e.extensionFields.signature);
--------------
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