From 6aa70ac9e0f7fe5a2c14a0605ead2fd77d60e5c7 Mon Sep 17 00:00:00 2001
From: Roberto Raggi <roberto.raggi@nokia.com>
Date: Tue, 10 Nov 2009 15:18:43 +0100
Subject: [PATCH] Removed member NestedNameSpecifierAST::next

---
 src/shared/cplusplus/AST.h               | 1 -
 src/shared/cplusplus/CheckDeclarator.cpp | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/shared/cplusplus/AST.h b/src/shared/cplusplus/AST.h
index 190b5cb5600..6fbf26e52ca 100644
--- a/src/shared/cplusplus/AST.h
+++ b/src/shared/cplusplus/AST.h
@@ -1159,7 +1159,6 @@ class CPLUSPLUS_EXPORT NestedNameSpecifierAST: public AST
 public:
     NameAST *class_or_namespace_name;
     unsigned scope_token;
-    NestedNameSpecifierAST *next;
 
 public:
     virtual NestedNameSpecifierAST *asNestedNameSpecifier() { return this; }
diff --git a/src/shared/cplusplus/CheckDeclarator.cpp b/src/shared/cplusplus/CheckDeclarator.cpp
index d32926e2eb7..be1319d5c88 100644
--- a/src/shared/cplusplus/CheckDeclarator.cpp
+++ b/src/shared/cplusplus/CheckDeclarator.cpp
@@ -236,7 +236,7 @@ bool CheckDeclarator::visit(PointerAST *ast)
     return false;
 }
 
-bool CheckDeclarator::visit(ReferenceAST *ast)
+bool CheckDeclarator::visit(ReferenceAST *)
 {
     ReferenceType *refTy = control()->referenceType(_fullySpecifiedType);
     FullySpecifiedType ty(refTy);
-- 
GitLab