From: Florian Ragwitz Date: Sat, 13 Nov 2010 13:53:59 +0000 (+0100) Subject: use style X-Git-Tag: 0.14~40 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ebcc8ba8734ef1bb70c0df6fabfa7c41d1309e73;p=gitmo%2FPackage-Stash-XS.git use style --- diff --git a/Stash.xs b/Stash.xs index 99c3b9c..b2a744b 100644 --- a/Stash.xs +++ b/Stash.xs @@ -532,20 +532,19 @@ list_all_package_symbols(self, vartype=VAR_NONE) namespace = _get_namespace(self); keys = hv_iterinit(namespace); EXTEND(SP, keys); - while (entry = hv_iternext(namespace)) { + while ((entry = hv_iternext(namespace))) { mPUSHs(newSVhek(HeKEY_hek(entry))); } } else { HV *namespace; - HE *entry; SV *val; char *key; int len; namespace = _get_namespace(self); hv_iterinit(namespace); - while (val = hv_iternextsv(namespace, &key, &len)) { + while ((val = hv_iternextsv(namespace, &key, &len))) { GV *gv = (GV*)val; if (isGV(gv)) { switch (vartype) {