Author: particle
Date: Mon Dec 8 12:08:04 2008
New Revision: 33666
Modified:
branches/pdd22io_part2/src/pmc/filehandle.pmc
Log:
[pmc] fix C89-o
Modified: branches/pdd22io_part2/src/pmc/filehandle.pmc
==============================================================================
--- branches/pdd22io_part2/src/pmc/filehandle.pmc (original)
+++ branches/pdd22io_part2/src/pmc/filehandle.pmc Mon Dec 8 12:08:04 2008
@@ -296,8 +296,8 @@
/* called as class method - open, slurp, close file */
PMC *filehandle;
STRING *encoding;
- GET_ATTR_encoding(INTERP, SELF, encoding);
size_t size;
+ GET_ATTR_encoding(INTERP, SELF, encoding);
if (!Parrot_io_is_closed(INTERP, SELF)) {
Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_PIO_ERROR,
"Cannot readall on a new file from an already
open filehandle");