Revision
4552
Author
lsansonetti@apple.com
Date
2010-09-28 15:32:14 -0700 (Tue, 28 Sep 2010)

Log Message

this is always false

Modified Paths

Diff

Modified: MacRuby/trunk/gc.c (4551 => 4552)


--- MacRuby/trunk/gc.c	2010-09-28 14:01:57 UTC (rev 4551)
+++ MacRuby/trunk/gc.c	2010-09-28 22:32:14 UTC (rev 4552)
@@ -155,9 +155,6 @@
 void *
 ruby_xrealloc(void *ptr, size_t size)
 {
-    if (size < 0) {
-	rb_raise(rb_eArgError, "negative re-allocation size");
-    }
     if (ptr == NULL) {
 	return ruby_xmalloc(size);
     }