[geany/geany] 558d21: Fix clang warning regarding mismatching types
Jiří Techet
git-noreply at xxxxx
Tue Feb 10 16:23:26 UTC 2015
Branch: refs/heads/master
Author: Jiří Techet <techet at gmail.com>
Committer: Jiří Techet <techet at gmail.com>
Date: Tue, 20 Jan 2015 18:33:06 UTC
Commit: 558d21f2f29bf6f70655afebf8e10b55f523c864
https://github.com/geany/geany/commit/558d21f2f29bf6f70655afebf8e10b55f523c864
Log Message:
-----------
Fix clang warning regarding mismatching types
The Option initialization didn't match the struct - there was
an extra initialization of -e parameter and missing initialization
of --etags-include a bit later. This means the initializations of
the fields were shifted by one between these two.
Modified Paths:
--------------
tagmanager/ctags/options.c
Modified: tagmanager/ctags/options.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -77,7 +77,6 @@ optionValues Option = {
NULL, /* -I */
FALSE, /* -a */
FALSE, /* -B */
- FALSE, /* -e */
#ifdef MACROS_USE_PATTERNS
EX_PATTERN, /* -n, --excmd */
#else
@@ -90,6 +89,7 @@ optionValues Option = {
NULL, /* -L */
NULL, /* -o */
NULL, /* -h */
+ NULL, /* --etags-include */
DEFAULT_FILE_FORMAT,/* --format */
FALSE, /* --if0 */
FALSE, /* --kind-long */
@@ -101,7 +101,7 @@ optionValues Option = {
FALSE, /* --tag-relative */
FALSE, /* --totals */
FALSE, /* --line-directives */
- FALSE,
+ FALSE, /* --nest */
};
--------------
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