* remote.c (unpack_nibble): Use fromhex.

* symtab.c (find_line_common): Always set exact_match.
This commit is contained in:
Daniel Jacobowitz 2007-12-31 18:38:43 +00:00
parent 4ae6d70300
commit b7589f7df4
3 changed files with 8 additions and 3 deletions

View file

@ -2424,6 +2424,8 @@ find_line_common (struct linetable *l, int lineno,
int best_index = -1;
int best = 0;
*exact_match = 0;
if (lineno <= 0)
return -1;
if (l == 0)
@ -2449,8 +2451,6 @@ find_line_common (struct linetable *l, int lineno,
}
/* If we got here, we didn't get an exact match. */
*exact_match = 0;
return best_index;
}