Index: src/Validate/ReplaceTypedef.cpp
===================================================================
--- src/Validate/ReplaceTypedef.cpp	(revision 20737104831e8e78cbe01e2e63a3969afaec6c88)
+++ src/Validate/ReplaceTypedef.cpp	(revision 0bd46fdf0880513efbef382cb2e926954f5c6001)
@@ -193,5 +193,5 @@
 }
 
-void ReplaceTypedefCore::previsit( ast::FunctionDecl const * decl ) {
+void ReplaceTypedefCore::previsit( ast::FunctionDecl const * ) {
 	GuardScope( typedefNames );
 	GuardScope( typedeclNames );
@@ -199,5 +199,5 @@
 }
 
-void ReplaceTypedefCore::previsit( ast::ObjectDecl const * decl ) {
+void ReplaceTypedefCore::previsit( ast::ObjectDecl const * ) {
 	GuardScope( typedefNames );
 	GuardScope( typedeclNames );
@@ -241,10 +241,10 @@
 }
 
-void ReplaceTypedefCore::previsit( ast::CastExpr const * expr ) {
-	GuardScope( typedefNames );
-	GuardScope( typedeclNames );
-}
-
-void ReplaceTypedefCore::previsit( ast::CompoundStmt const * expr ) {
+void ReplaceTypedefCore::previsit( ast::CastExpr const * ) {
+	GuardScope( typedefNames );
+	GuardScope( typedeclNames );
+}
+
+void ReplaceTypedefCore::previsit( ast::CompoundStmt const * ) {
 	GuardScope( typedefNames );
 	GuardScope( typedeclNames );
@@ -273,5 +273,5 @@
 }
 
-void ReplaceTypedefCore::previsit( ast::TraitDecl const * decl ) {
+void ReplaceTypedefCore::previsit( ast::TraitDecl const * ) {
 	GuardScope( typedefNames );
 	GuardScope( typedeclNames );
