[svn:parrot] r39834 - trunk/compilers/imcc

petdance at svn.parrot.org petdance at svn.parrot.org
Tue Jun 30 03:40:35 UTC 2009


Author: petdance
Date: Tue Jun 30 03:40:29 2009
New Revision: 39834
URL: https://trac.parrot.org/parrot/changeset/39834

Log:
Splint annotations on string literals

Modified:
   trunk/compilers/imcc/parser_util.c

Modified: trunk/compilers/imcc/parser_util.c
==============================================================================
--- trunk/compilers/imcc/parser_util.c	Tue Jun 30 02:59:43 2009	(r39833)
+++ trunk/compilers/imcc/parser_util.c	Tue Jun 30 03:40:29 2009	(r39834)
@@ -1221,8 +1221,8 @@
 {
     ASSERT_ARGS(try_rev_cmp)
     static struct br_pairs {
-        ARGIN(const char * const op);
-        ARGIN(const char * const nop);
+        PARROT_OBSERVER const char * const op;
+        PARROT_OBSERVER const char * const nop;
         const int to_swap;
     } br_pairs[] = {
         { "gt",   "lt",   0 },
@@ -1265,6 +1265,7 @@
 
 */
 
+PARROT_IGNORABLE_RESULT
 int
 imcc_vfprintf(PARROT_INTERP, ARGMOD(PMC *io), ARGIN(const char *format), va_list ap)
 {


More information about the parrot-commits mailing list