Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2008-04-06 01:01:19 +0000
committerSergey Prigogin2008-04-06 01:01:19 +0000
commite87ef6e31dfc284e6b24fbbbdf9dea9a32f98a2d (patch)
tree0fc7da94368f8c2d832a3d6305fec9722352ca93 /core/org.eclipse.cdt.core
parent99731305db94933d95412201cd7667dc5ec9e17c (diff)
downloadorg.eclipse.cdt-e87ef6e31dfc284e6b24fbbbdf9dea9a32f98a2d.tar.gz
org.eclipse.cdt-e87ef6e31dfc284e6b24fbbbdf9dea9a32f98a2d.tar.xz
org.eclipse.cdt-e87ef6e31dfc284e6b24fbbbdf9dea9a32f98a2d.zip
Removed an unnecessary check.
Diffstat (limited to 'core/org.eclipse.cdt.core')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java
index cdc04f4ca7..2697e722d3 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPVisitor.java
@@ -717,8 +717,6 @@ public class CPPVisitor {
} catch (DOMException e) {
return false;
}
- if (clsTypeSpec == null)
- return false;
IASTName clsName = clsTypeSpec.getName();
if (clsName instanceof ICPPASTQualifiedName) {
IASTName[] names = ((ICPPASTQualifiedName)clsName).getNames();

Back to the top