forked from qt-creator/qt-creator
Check for 0x0 access
This commit is contained in:
@@ -263,7 +263,7 @@ bool CheckDeclarator::visit(ObjCMethodPrototypeAST *ast)
|
||||
fun->setPureVirtual(false);
|
||||
fun->setReturnType(returnType);
|
||||
|
||||
if (ast->selector->asObjCSelectorWithArguments()) {
|
||||
if (ast->selector && ast->selector->asObjCSelectorWithArguments()) {
|
||||
// TODO: check the parameters (EV)
|
||||
// fun->setVariadic(...);
|
||||
// TODO: add arguments (EV)
|
||||
|
||||
Reference in New Issue
Block a user