Stop gcc from warning.
Florian Ragwitz [Mon, 22 Dec 2008 21:18:11 +0000 (21:18 +0000)]
MOP.xs

diff --git a/MOP.xs b/MOP.xs
index 1a5cba5..e21482d 100644 (file)
--- 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;
             }