From 81dd58ff24106694b223252302afa0d8574414b2 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Sun, 29 Aug 2010 02:29:37 -0300 Subject: [PATCH] Avoid double initialization of stack variable --- rt/gc/cdgc/gc.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rt/gc/cdgc/gc.d b/rt/gc/cdgc/gc.d index f74409f..3122215 100644 --- a/rt/gc/cdgc/gc.d +++ b/rt/gc/cdgc/gc.d @@ -641,7 +641,7 @@ void mark_range(void *pbot, void *ptop, size_t* pm_bitmask) if (pool) { size_t offset = cast(size_t)(p - pool.baseAddr); - size_t bit_i; + size_t bit_i = void; size_t pn = offset / PAGESIZE; Bins bin = cast(Bins)pool.pagetable[pn]; -- 2.43.0