Skip to content

Commit 86795b5

Browse files
committed
Pascal,refactor: refine the style of if condtion
Do the same as `vartype'. Signed-off-by: Masatake YAMATO <[email protected]>
1 parent 74c7fb7 commit 86795b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parsers/pascal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ static void createPascalTag (
4444
if (PascalKinds [kind].enabled && name != NULL && vStringLength (name) > 0)
4545
{
4646
initTagEntry (tag, vStringValue (name), kind);
47-
if (arglist != NULL && !vStringIsEmpty (arglist))
47+
if (arglist && !vStringIsEmpty (arglist))
4848
{
4949
tag->extensionFields.signature = vStringValue (arglist);
5050
}

0 commit comments

Comments
 (0)