Commits

Armin Rigo committed 2cdaa14

Silence this warning, because we get infinitely many of them right
now.

Comments (0)

Files changed (1)

pypy/translator/c/funcgen.py

     OP_CAST_OPAQUE_PTR = OP_CAST_POINTER
 
     def OP_CAST_PTR_TO_ADR(self, op):
-        if self.lltypemap(op.args[0]).TO._gckind == 'gc' and self._is_stm():
-            from pypy.translator.c.support import log
-            log.WARNING("cast_ptr_to_adr(gcref) might be a bad idea with STM:")
-            log.WARNING("  %r" % (self.graph,))
+        #if self.lltypemap(op.args[0]).TO._gckind == 'gc' and self._is_stm():
+        #    from pypy.translator.c.support import log
+        #    log.WARNING("cast_ptr_to_adr(gcref) might be a bad idea with STM:")
+        #    log.WARNING("  %r" % (self.graph,))
         return self.OP_CAST_POINTER(op)
 
     def OP_CAST_INT_TO_PTR(self, op):