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:
parent
5cd0382ae8
commit
6478078ae0
@ -145,11 +145,11 @@ static void clearPatternSet (const langType language)
|
|||||||
static void makeRegexTag (
|
static void makeRegexTag (
|
||||||
const vString* const name, const struct sKind* const kind)
|
const vString* const name, const struct sKind* const kind)
|
||||||
{
|
{
|
||||||
|
Assert (kind != NULL);
|
||||||
if (kind->enabled)
|
if (kind->enabled)
|
||||||
{
|
{
|
||||||
tagEntryInfo e;
|
tagEntryInfo e;
|
||||||
Assert (name != NULL && vStringLength (name) > 0);
|
Assert (name != NULL && vStringLength (name) > 0);
|
||||||
Assert (kind != NULL);
|
|
||||||
initTagEntry (&e, vStringValue (name));
|
initTagEntry (&e, vStringValue (name));
|
||||||
e.kind = kind->letter;
|
e.kind = kind->letter;
|
||||||
e.kindName = kind->name;
|
e.kindName = kind->name;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user