Remove NOP-cast.
authorChristoph Mallon <christoph.mallon@gmx.de>
Mon, 17 Jan 2011 15:38:30 +0000 (15:38 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Mon, 17 Jan 2011 15:38:30 +0000 (15:38 +0000)
[r28246]

ir/adt/array.c

index b7dc323..7c05ff6 100644 (file)
@@ -126,10 +126,7 @@ void ir_del_arr_f(void *elts)
        assert (dp->magic == ARR_F_MAGIC);
 
 #ifndef NDEBUG
-       {
-               ir_arr_descr *wdp = (ir_arr_descr *)dp;
-               wdp->magic = 0xdeadbeef;
-       }
+       dp->magic = 0xdeadbeef;
 #endif
        free(dp);
 }