[svn:parrot] r42064 - trunk/src/pmc
bacek at svn.parrot.org
bacek at svn.parrot.org
Sat Oct 24 02:46:55 UTC 2009
Author: bacek
Date: Sat Oct 24 02:46:52 2009
New Revision: 42064
URL: https://trac.parrot.org/parrot/changeset/42064
Log:
[cage] Reorganise CallSignature.get_string variable initialisation to prevent compiler warnings.
Modified:
trunk/src/pmc/callsignature.pmc
Modified: trunk/src/pmc/callsignature.pmc
==============================================================================
--- trunk/src/pmc/callsignature.pmc Sat Oct 24 01:32:17 2009 (r42063)
+++ trunk/src/pmc/callsignature.pmc Sat Oct 24 02:46:52 2009 (r42064)
@@ -412,13 +412,13 @@
VTABLE STRING *get_string() {
Parrot_CallSignature_attributes * const attrs = PARROT_CALLSIGNATURE(SELF);
- STRING *res = attrs->short_sig;
+ STRING *res = attrs->short_sig;
+ Pcc_cell *c = attrs->positionals;
if (res)
return res;
res = Parrot_str_new(INTERP, NULL, attrs->num_positionals);
- Pcc_cell *c = attrs->positionals;
while (c) {
switch (CELL_TYPE_MASK(c)) {
More information about the parrot-commits
mailing list