fix style warnings on itself
This commit is contained in:
parent
10bf4725c0
commit
718d29c02e
|
@ -276,7 +276,7 @@ class UnusedVariableCheck : BaseAnalyzer
|
|||
|
||||
override void visit(const Type2 tp)
|
||||
{
|
||||
if (tp.typeIdentifierPart && tp.typeIdentifierPart &&
|
||||
if (tp.typeIdentifierPart &&
|
||||
tp.typeIdentifierPart.identifierOrTemplateInstance)
|
||||
{
|
||||
const IdentifierOrTemplateInstance idt = tp.typeIdentifierPart.identifierOrTemplateInstance;
|
||||
|
|
|
@ -171,7 +171,7 @@ public:
|
|||
bool isStr, isSzInt;
|
||||
Token customType;
|
||||
|
||||
if (decl.type.type2.typeIdentifierPart && decl.type.type2.typeIdentifierPart &&
|
||||
if (decl.type.type2.typeIdentifierPart &&
|
||||
decl.type.type2.typeIdentifierPart.typeIdentifierPart is null)
|
||||
{
|
||||
const IdentifierOrTemplateInstance idt =
|
||||
|
|
Loading…
Reference in New Issue