[svn:parrot] r46722 - trunk/src/dynpmc

petdance at svn.parrot.org petdance at svn.parrot.org
Mon May 17 02:22:26 UTC 2010


Author: petdance
Date: Mon May 17 02:22:26 2010
New Revision: 46722
URL: https://trac.parrot.org/parrot/changeset/46722

Log:
removed dead vars and fixed some POD

Modified:
   trunk/src/dynpmc/gziphandle.pmc

Modified: trunk/src/dynpmc/gziphandle.pmc
==============================================================================
--- trunk/src/dynpmc/gziphandle.pmc	Mon May 17 02:21:45 2010	(r46721)
+++ trunk/src/dynpmc/gziphandle.pmc	Mon May 17 02:22:26 2010	(r46722)
@@ -239,7 +239,12 @@
 
 Returns a string with the zlib version.
 
+=back
+
+=cut
+
 */
+
     METHOD version() {
         STRING *version = Parrot_str_new_constant(INTERP, zlibVersion());
         RETURN(STRING *version);
@@ -354,10 +359,7 @@
     }
 
     METHOD crc32(INTVAL crc, STRING *str) {
-        int rc;
-        char *buf;
-        STRING *dst = NULL;
-        UINTVAL srcLen, bufSize, dstLen;
+        UINTVAL srcLen;
         char * const src = Parrot_str_to_cstring(INTERP, str);
 
         if (!src)
@@ -369,15 +371,6 @@
         crc = crc32(crc, (const Bytef *)src, srcLen);
         RETURN(INTVAL crc);
     }
-
-/*
-
-=back
-
-=cut
-
-*/
-
 }
 
 /*


More information about the parrot-commits mailing list