From 6478078ae090d0116189b713965dc3bb74c8ae72 Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Thu, 9 Sep 2010 14:44:41 +0000 Subject: [PATCH] Move useless assert. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5214 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- tagmanager/lregex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tagmanager/lregex.c b/tagmanager/lregex.c index 0810b861..db97c319 100644 --- a/tagmanager/lregex.c +++ b/tagmanager/lregex.c @@ -145,11 +145,11 @@ static void clearPatternSet (const langType language) static void makeRegexTag ( const vString* const name, const struct sKind* const kind) { + Assert (kind != NULL); if (kind->enabled) { tagEntryInfo e; Assert (name != NULL && vStringLength (name) > 0); - Assert (kind != NULL); initTagEntry (&e, vStringValue (name)); e.kind = kind->letter; e.kindName = kind->name;