[geany/geany] c67caf: Fix unsigned >= 0 comparison warning

Nick Treleaven git-noreply at xxxxx
Sun Apr 27 15:39:08 UTC 2014


Branch:      refs/heads/master
Author:      Nick Treleaven <nick.treleaven at btinternet.com>
Committer:   Nick Treleaven <nick.treleaven at btinternet.com>
Date:        Sun, 27 Apr 2014 15:39:08 UTC
Commit:      c67caf03a555dc0f2f3b433b5eab649ec19ff189
             https://github.com/geany/geany/commit/c67caf03a555dc0f2f3b433b5eab649ec19ff189

Log Message:
-----------
Fix unsigned >= 0 comparison warning


Modified Paths:
--------------
    tagmanager/ctags/r.c

Modified: tagmanager/ctags/r.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -61,7 +61,7 @@ static void makeRTag(const vString* const name, rKind kind)
   tagEntryInfo e;
   initTagEntry(&e, vStringValue(name));
 
-  Assert(kind >= 0 && kind < KIND_COUNT);
+  Assert(kind < KIND_COUNT);
 
   e.kindName = RKinds[kind].name;
   e.kind     = RKinds[kind].letter;



--------------
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