[geany/geany] 8855c1: Fix a use of non-const variable to hold a string literal
Colomban Wendling
git-noreply at geany.org
Mon Oct 22 20:40:19 UTC 2012
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Mon, 22 Oct 2012 20:40:19
Commit: 8855c146cc477ba2961c752fd3fe70ac268ac4a3
https://github.com/geany/geany/commit/8855c146cc477ba2961c752fd3fe70ac268ac4a3
Log Message:
-----------
Fix a use of non-const variable to hold a string literal
Modified Paths:
--------------
tagmanager/ctags/c.c
Modified: tagmanager/ctags/c.c
4 files changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -3145,8 +3145,8 @@ static void initializeDParser (const langType language)
{
/* keyword aliases - some are for parsing like const(Type), some are just
* function attributes */
- char *const_aliases[] = {"immutable", "nothrow", "pure", "shared", NULL};
- char **s;
+ const char *const_aliases[] = {"immutable", "nothrow", "pure", "shared", NULL};
+ const char **s;
Lang_d = language;
buildKeywordHash (language, 6);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Commits
mailing list