[svn:parrot] r36186 - trunk/src/io
petdance at svn.parrot.org
petdance at svn.parrot.org
Sat Jan 31 07:00:08 UTC 2009
Author: petdance
Date: Sat Jan 31 07:00:07 2009
New Revision: 36186
URL: https://trac.parrot.org/parrot/changeset/36186
Log:
consting, removed an unused return
Modified:
trunk/src/io/unix.c
Modified: trunk/src/io/unix.c
==============================================================================
--- trunk/src/io/unix.c Sat Jan 31 06:38:07 2009 (r36185)
+++ trunk/src/io/unix.c Sat Jan 31 07:00:07 2009 (r36186)
@@ -306,7 +306,7 @@
flags |= PIO_F_SHARED;
if (PMC_IS_NULL(filehandle)) {
- PMC *io = Parrot_io_new_pmc(interp, flags);
+ PMC * const io = Parrot_io_new_pmc(interp, flags);
Parrot_io_set_os_handle(interp, io, fd);
return io;
}
@@ -315,8 +315,6 @@
Parrot_io_set_os_handle(interp, filehandle, fd);
return filehandle;
}
-
- return PMCNULL;
}
/*
More information about the parrot-commits
mailing list