[svn:parrot] r45934 - trunk/src/string/encoding

petdance at svn.parrot.org petdance at svn.parrot.org
Fri Apr 23 04:07:37 UTC 2010


Author: petdance
Date: Fri Apr 23 04:07:36 2010
New Revision: 45934
URL: https://trac.parrot.org/parrot/changeset/45934

Log:
flag unused args

Modified:
   trunk/src/string/encoding/ucs2.c

Modified: trunk/src/string/encoding/ucs2.c
==============================================================================
--- trunk/src/string/encoding/ucs2.c	Fri Apr 23 01:27:56 2010	(r45933)
+++ trunk/src/string/encoding/ucs2.c	Fri Apr 23 04:07:36 2010	(r45934)
@@ -221,6 +221,7 @@
     ASSERT_ARGS(get_codepoint)
 #if PARROT_HAS_ICU
     const UChar * const s = (const UChar*) src->strstart;
+    UNUSED(interp);
     return s[offset];
 #else
     UNUSED(offset);
@@ -483,7 +484,8 @@
 {
     ASSERT_ARGS(ucs2_hash)
 #if PARROT_HAS_ICU
-    UChar  *pos = (UChar*) s->strstart;
+    UNUSED(interp);
+    const UChar *pos = (const UChar*) s->strstart;
     UINTVAL len = s->strlen;
 
     while (len--) {


More information about the parrot-commits mailing list