Move useless assert.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5214 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2010-09-09 14:44:41 +00:00
parent 5cd0382ae8
commit 6478078ae0

View File

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