[svn:parrot] r39782 - trunk/src/pmc

chromatic at svn.parrot.org chromatic at svn.parrot.org
Thu Jun 25 22:29:10 UTC 2009


Author: chromatic
Date: Thu Jun 25 22:29:08 2009
New Revision: 39782
URL: https://trac.parrot.org/parrot/changeset/39782

Log:
[PMC] Fixed an unused return value compiler warning about the Parrot_io_open()
call in StringHandle's open() method.

Modified:
   trunk/src/pmc/stringhandle.pmc

Modified: trunk/src/pmc/stringhandle.pmc
==============================================================================
--- trunk/src/pmc/stringhandle.pmc	Thu Jun 25 21:32:54 2009	(r39781)
+++ trunk/src/pmc/stringhandle.pmc	Thu Jun 25 22:29:08 2009	(r39782)
@@ -220,7 +220,7 @@
             SET_ATTR_mode(INTERP, SELF, open_mode);
         }
 
-        Parrot_io_open(INTERP, SELF, filename, open_mode);
+        SELF = Parrot_io_open(INTERP, SELF, filename, open_mode);
 
         RETURN(PMC *SELF);
     }


More information about the parrot-commits mailing list