Skip to content

Commit

Permalink
[debug] Fixed a compilation warning in PDB_cond().
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.parrot.org/parrot/trunk@45480 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
chromatic committed Apr 9, 2010
1 parent 411d6cc commit 5591525
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/debug.c
Expand Up @@ -1314,8 +1314,9 @@ PDB_cond(PARROT_INTERP, ARGIN(const char *command))
cond_argleft = condition_regtype(command);

/* get the register number */
auxcmd = ++command;
get_uint(&command, 0);
auxcmd = ++command;
reg_number = get_uint(&command, 0);

if (auxcmd == command) {
Parrot_io_eprintf(interp->pdb->debugger, "Invalid register\n");
return NULL;
Expand Down

0 comments on commit 5591525

Please sign in to comment.