Skip to content

Commit f15968f

Browse files
committed
update misra addon
1 parent 2d6f23e commit f15968f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

addons/misra.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -803,8 +803,7 @@ def get_function_pointer_type(tok):
803803
ret += '('
804804
tok = tok.next.next
805805
while tok and (tok.str not in '()'):
806-
if tok.varId is None:
807-
ret += ' ' + tok.str
806+
ret += ' ' + tok.str
808807
tok = tok.next
809808
if (tok is None) or tok.str != ')':
810809
return None

0 commit comments

Comments
 (0)