2007-07-31 Michael Snyder <msnyder@access-company.com>

* breakpoint.c (breakpoint_init_inferior): Add 'else' to 'if'.
	True and false paths are mutually exclusive.
This commit is contained in:
Michael Snyder
2007-07-31 23:08:22 +00:00
parent 40742ab60a
commit 967af18d0d
2 changed files with 4 additions and 1 deletions

View File

@ -1729,7 +1729,7 @@ breakpoint_init_inferior (enum inf_context context)
/* Likewise for watchpoints on local expressions. */
if (b->exp_valid_block != NULL)
delete_breakpoint (b);
if (context == inf_starting)
else if (context == inf_starting)
{
/* Reset val field to force reread of starting value
in insert_breakpoints. */