[svn:parrot] r49337 - in trunk/src: . string

petdance at svn.parrot.org petdance at svn.parrot.org
Sun Sep 26 05:48:28 UTC 2010


Author: petdance
Date: Sun Sep 26 05:48:27 2010
New Revision: 49337
URL: https://trac.parrot.org/parrot/changeset/49337

Log:
deleting unused variables

Modified:
   trunk/src/debug.c
   trunk/src/string/api.c

Modified: trunk/src/debug.c
==============================================================================
--- trunk/src/debug.c	Sun Sep 26 04:04:14 2010	(r49336)
+++ trunk/src/debug.c	Sun Sep 26 05:48:27 2010	(r49337)
@@ -1489,7 +1489,6 @@
     PDB_breakpoint_t *newbreak,
                      *oldbreak;
     PDB_line_t       *line = NULL;
-    long              bp_id;
     opcode_t         *breakpos = NULL;
 
     unsigned long ln = get_ulong(& command, 0);
@@ -1796,10 +1795,8 @@
 PDB_delete_breakpoint(PARROT_INTERP, ARGIN(const char *command))
 {
     ASSERT_ARGS(PDB_delete_breakpoint)
-    PDB_t *pdb = interp->pdb;
+    PDB_t * const pdb = interp->pdb;
     PDB_breakpoint_t * const breakpoint = PDB_find_breakpoint(interp, command);
-    const PDB_line_t *line;
-    long bp_id;
 
     if (breakpoint) {
         display_breakpoint(pdb, breakpoint);

Modified: trunk/src/string/api.c
==============================================================================
--- trunk/src/string/api.c	Sun Sep 26 04:04:14 2010	(r49336)
+++ trunk/src/string/api.c	Sun Sep 26 05:48:27 2010	(r49337)
@@ -3219,7 +3219,6 @@
 
     do {
         String_iter start, end;
-        INTVAL pos;
 
         start = iter;
         if (Parrot_str_iter_index(interp, str, &start, &end, delim) < 0)


More information about the parrot-commits mailing list