Index: src/ResolvExpr/CommonType.cc
===================================================================
--- src/ResolvExpr/CommonType.cc	(revision 5408b5919f1f591121d6cdabf6c6b5e605e61e6b)
+++ src/ResolvExpr/CommonType.cc	(revision e874605d8b0f66ad6050e4d03825b57912afe8ac)
@@ -991,5 +991,4 @@
 				add_qualifiers( result, type2->qualifiers );
 			} else {
-				// xxx - does unifying a ref with typed enumInst makes sense?
 				if (!dynamic_cast<const ast::EnumInstType *>(type2))
 					result = commonType( type2, ref, tenv, need, have, open, widen, symtab );
@@ -1010,6 +1009,4 @@
 
 		void postvisit( const ast::EnumInstType * enumInst ) {
-			// reuse BasicType/EnumInstType common type by swapping
-			// xxx - is this already handled by unify?
 			if (!dynamic_cast<const ast::EnumInstType *>(type2))
 				result = commonType( type2, enumInst, tenv, need, have, open, widen, symtab);
Index: src/ResolvExpr/ConversionCost.cc
===================================================================
--- src/ResolvExpr/ConversionCost.cc	(revision 5408b5919f1f591121d6cdabf6c6b5e605e61e6b)
+++ src/ResolvExpr/ConversionCost.cc	(revision e874605d8b0f66ad6050e4d03825b57912afe8ac)
@@ -720,5 +720,4 @@
 		costCalc( baseType, dst, srcIsLvalue, symtab, env );
 	} else {
-		(void)enumInstType;
 		static ast::ptr<ast::BasicType> integer = { new ast::BasicType( ast::BasicType::SignedInt ) };
 		cost = costCalc( integer, dst, srcIsLvalue, symtab, env );
