# New Ticket Created by  Andy Dougherty 
# Please include the string:  [perl #30560]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=30560 >


The Solaris compiler complained when classes/complex.c tried to return a
value from a void function.  This patch assumes the function indeed is
intended to be void and no return value is needed.

--- parrot-current/classes/complex.pmc  Thu Jul  1 04:47:13 2004
+++ parrot-andy/classes/complex.pmc     Thu Jul  1 14:22:39 2004
@@ -433,7 +433,7 @@

     void set_number_keyed (PMC* key, FLOATVAL value) {
         STRING* s = VTABLE_get_string(INTERP, key);
-        return DYNSELF.set_number_keyed_str(s, value);
+        DYNSELF.set_number_keyed_str(s, value);
     }

     void set_number_keyed_str (STRING* key, FLOATVAL value) {

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to