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

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Wed Oct 21 13:14:16 UTC 2009


Author: whiteknight
Date: Wed Oct 21 13:14:14 2009
New Revision: 41966
URL: https://trac.parrot.org/parrot/changeset/41966

Log:
[string] add an unused return statement to shut up warning messages people are getting from code analyzers.

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

Modified: trunk/src/string/encoding/ucs2.c
==============================================================================
--- trunk/src/string/encoding/ucs2.c	Wed Oct 21 11:36:30 2009	(r41965)
+++ trunk/src/string/encoding/ucs2.c	Wed Oct 21 13:14:14 2009	(r41966)
@@ -605,6 +605,7 @@
      * See TT #557
      */
     PARROT_ASSERT(0);
+    return (UINTVAL)0; /* Stop the static analyzers from panicing */
 #endif
 }
 


More information about the parrot-commits mailing list