From: Wolfgang Bumiller Date: Tue, 15 Apr 2014 08:31:25 +0000 (+0200) Subject: slight improvement there X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=94fae6b56dc03a704260816daa20b8ebccff00ec;p=xonotic%2Fgmqcc.git slight improvement there --- diff --git a/ir.c b/ir.c index f8a9d28..90dff4c 100644 --- a/ir.c +++ b/ir.c @@ -2529,6 +2529,8 @@ static GMQCC_INLINE size_t ir_bitlist_find_first(const ir_bitlist_t *self) /* FIXME: optimize? only executed when a warning is issued though... */ for (i = 0; i != size; ++i) { size_t bit; + if (!self->bits[i]) + continue; for (bit = 0; bit != GMQCC_BL_BITS; ++bit) { if (self->bits[i] & (1<