[svn:parrot] r41188 - trunk/src/interp

chromatic at svn.parrot.org chromatic at svn.parrot.org
Thu Sep 10 22:27:49 UTC 2009


Author: chromatic
Date: Thu Sep 10 22:27:49 2009
New Revision: 41188
URL: https://trac.parrot.org/parrot/changeset/41188

Log:
[src] Tidied a bit of documentation and worked around a compiler warning for a
use of an uninitialized value.  No functional changes.

Modified:
   trunk/src/interp/inter_misc.c

Modified: trunk/src/interp/inter_misc.c
==============================================================================
--- trunk/src/interp/inter_misc.c	Thu Sep 10 22:27:45 2009	(r41187)
+++ trunk/src/interp/inter_misc.c	Thu Sep 10 22:27:49 2009	(r41188)
@@ -195,8 +195,7 @@
 
 =item C<INTVAL interpinfo(PARROT_INTERP, INTVAL what)>
 
-C<what> specifies the type of information you want about the
-interpreter.
+C<what> specifies the type of information you want about the interpreter.
 
 =cut
 
@@ -283,6 +282,7 @@
             break;
         }
         default:        /* or a warning only? */
+            ret = -1;
             Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_UNIMPLEMENTED,
                 "illegal argument in interpinfo");
     }


More information about the parrot-commits mailing list