Index: src/GenPoly/GenPoly.cc
===================================================================
--- src/GenPoly/GenPoly.cc	(revision 6312b1c59df970f3d77597b98cd68dc5fd8dd3ec)
+++ src/GenPoly/GenPoly.cc	(revision cf444b64a4a158958376dc2ab509245568729ad6)
@@ -64,4 +64,5 @@
 		}
 
+		__attribute__((ununsed))
 		bool hasPolyParams( const std::vector<ast::ptr<ast::Expr>> & params, const TyVarMap & tyVars, const ast::TypeSubstitution * env) {
 			for (auto &param : params) {
