[svn:parrot] r38706 - in trunk: include/parrot src/interp
petdance at svn.parrot.org
petdance at svn.parrot.org
Tue May 12 06:18:45 UTC 2009
Author: petdance
Date: Tue May 12 06:18:44 2009
New Revision: 38706
URL: https://trac.parrot.org/parrot/changeset/38706
Log:
removed unused vars, and added more headerizer flags
Modified:
trunk/include/parrot/interpreter.h
trunk/src/interp/inter_misc.c
Modified: trunk/include/parrot/interpreter.h
==============================================================================
--- trunk/include/parrot/interpreter.h Mon May 11 22:13:04 2009 (r38705)
+++ trunk/include/parrot/interpreter.h Tue May 12 06:18:44 2009 (r38706)
@@ -580,6 +580,7 @@
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */
PARROT_EXPORT
+PARROT_WARN_UNUSED_RESULT
INTVAL interpinfo(PARROT_INTERP, INTVAL what)
__attribute__nonnull__(1);
Modified: trunk/src/interp/inter_misc.c
==============================================================================
--- trunk/src/interp/inter_misc.c Mon May 11 22:13:04 2009 (r38705)
+++ trunk/src/interp/inter_misc.c Tue May 12 06:18:44 2009 (r38706)
@@ -205,12 +205,12 @@
*/
PARROT_EXPORT
+PARROT_WARN_UNUSED_RESULT
INTVAL
interpinfo(PARROT_INTERP, INTVAL what)
{
ASSERT_ARGS(interpinfo)
- INTVAL ret = 0;
- int j;
+ INTVAL ret;
switch (what) {
case TOTAL_MEM_ALLOC:
More information about the parrot-commits
mailing list