From: Florian Ragwitz Date: Mon, 22 Dec 2008 21:18:11 +0000 (+0000) Subject: Stop gcc from warning. X-Git-Tag: 0.74~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=002254af56fa0c4671931c32a586e68062a74845;p=gitmo%2FClass-MOP.git Stop gcc from warning. --- diff --git a/MOP.xs b/MOP.xs index 1a5cba5..e21482d 100644 --- a/MOP.xs +++ b/MOP.xs @@ -384,7 +384,7 @@ is_class_loaded(klass=&PL_sv_undef) } (void)hv_iterinit(stash); - while (gv = (GV *)hv_iternextsv(stash, &key, &keylen)) { + while ((gv = (GV *)hv_iternextsv(stash, &key, &keylen))) { if (keylen <= 0) { continue; }