summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/CheckUndefinedSymbols.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/cplusplus/CheckUndefinedSymbols.cpp')
-rw-r--r--src/libs/cplusplus/CheckUndefinedSymbols.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/libs/cplusplus/CheckUndefinedSymbols.cpp b/src/libs/cplusplus/CheckUndefinedSymbols.cpp
index 5d996579ee..6010e4283e 100644
--- a/src/libs/cplusplus/CheckUndefinedSymbols.cpp
+++ b/src/libs/cplusplus/CheckUndefinedSymbols.cpp
@@ -522,11 +522,13 @@ bool CheckUndefinedSymbols::visit(ObjCProtocolRefsAST *ast)
bool CheckUndefinedSymbols::visit(ObjCPropertyDeclarationAST *ast)
{
for (List<ObjCPropertyDeclaration *> *iter = ast->symbols; iter; iter = iter->next) {
- if (Name *getterName = iter->value->getterName())
- ; // FIXME: resolve the symbol for the name, and check its signature.
+ if (Name *getterName = iter->value->getterName()) {
+ // FIXME: resolve the symbol for the name, and check its signature.
+ }
- if (Name *setterName = iter->value->setterName())
- ; // FIXME: resolve the symbol for the name, and check its signature.
+ if (Name *setterName = iter->value->setterName()) {
+ // FIXME: resolve the symbol for the name, and check its signature.
+ }
}
return false;