cvsuser 04/11/18 22:41:29
Modified: dynclasses matchrange.pmc
Log:
Sun's cc compiler complains about dynclasses/matchrange.pmc:
"matchrange.pmc", line 305: void function cannot return value
-- Andy Dougherty
Revision Changes Path
1.2 +2 -2 parrot/dynclasses/matchrange.pmc
Index: matchrange.pmc
===================================================================
RCS file: /cvs/public/parrot/dynclasses/matchrange.pmc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- matchrange.pmc 17 Sep 2004 04:55:02 -0000 1.1
+++ matchrange.pmc 19 Nov 2004 06:41:29 -0000 1.2
@@ -1,6 +1,6 @@
/*
Copyright: 2004 The Perl Foundation. All Rights Reserved.
-$Id: matchrange.pmc,v 1.1 2004/09/17 04:55:02 sfink Exp $
+$Id: matchrange.pmc,v 1.2 2004/11/19 06:41:29 sfink Exp $
=head1 NAME
@@ -302,7 +302,7 @@
void set_integer_keyed (PMC* key, INTVAL value) {
if (key_type(INTERP, key) == KEY_integer_FLAG) {
- return SELF.set_integer_keyed_int(PMC_int_val(key), value);
+ SELF.set_integer_keyed_int(PMC_int_val(key), value);
} else {
STRING* s = VTABLE_get_string(INTERP, key);
DYNSELF.set_integer_keyed_str(s, value);