Index: src/ResolvExpr/PtrsCastable.cc
===================================================================
--- src/ResolvExpr/PtrsCastable.cc	(revision 7e003011cac72e307c02d183bca9cbd4a982d69b)
+++ src/ResolvExpr/PtrsCastable.cc	(revision af397ef8f0a43077863974fc725f7ae0d12ca892)
@@ -135,7 +135,5 @@
 	}
 
-	void PtrsCastable::visit(TraitInstType *inst) {
-		// I definitely don't think we should be doing anything here
-	}
+	void PtrsCastable::visit( __attribute__((unused)) TraitInstType *inst ) {}
 
 	void PtrsCastable::visit(TypeInstType *inst) {
Index: src/ResolvExpr/Unify.cc
===================================================================
--- src/ResolvExpr/Unify.cc	(revision 7e003011cac72e307c02d183bca9cbd4a982d69b)
+++ src/ResolvExpr/Unify.cc	(revision af397ef8f0a43077863974fc725f7ae0d12ca892)
@@ -388,5 +388,5 @@
 	}
 
-	void Unify::visit(VoidType *voidType) {
+	void Unify::visit( __attribute__((unused)) VoidType *voidType) {
 		result = dynamic_cast< VoidType* >( type2 );
 	}
@@ -737,13 +737,13 @@
 	}
 
-	void Unify::visit(VarArgsType *varArgsType) {
+	void Unify::visit( __attribute__((unused)) VarArgsType *varArgsType ) {
 		result = dynamic_cast< VarArgsType* >( type2 );
 	}
 
-	void Unify::visit(ZeroType *zeroType) {
+	void Unify::visit( __attribute__((unused)) ZeroType *zeroType ) {
 		result = dynamic_cast< ZeroType* >( type2 );
 	}
 
-	void Unify::visit(OneType *oneType) {
+	void Unify::visit( __attribute__((unused)) OneType *oneType ) {
 		result = dynamic_cast< OneType* >( type2 );
 	}
