summaryrefslogtreecommitdiffstats
path: root/src/linguist/lupdate/clangtoolastreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/linguist/lupdate/clangtoolastreader.cpp')
-rw-r--r--src/linguist/lupdate/clangtoolastreader.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/linguist/lupdate/clangtoolastreader.cpp b/src/linguist/lupdate/clangtoolastreader.cpp
index 2a1a14236..ec90902bf 100644
--- a/src/linguist/lupdate/clangtoolastreader.cpp
+++ b/src/linguist/lupdate/clangtoolastreader.cpp
@@ -129,9 +129,7 @@ namespace LupdatePrivate
};
*/
// For recordDecl corresponding to class C, the following gives access to class A
- context = exploreBases(recordDecl, sm);
- if (!context.isEmpty())
- return context;
+ return exploreBases(recordDecl, sm);
}
}