mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
* linespec.c (decode_objc): Make i1 and i2 unsigned.
(find_method): Set values.sals to NULL.
This commit is contained in:
parent
e2ba7bd7d0
commit
15550d6bec
@ -1,3 +1,8 @@
|
||||
2006-01-10 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* linespec.c (decode_objc): Make i1 and i2 unsigned.
|
||||
(find_method): Set values.sals to NULL.
|
||||
|
||||
2006-01-09 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* amd64obsd-nat.c (amd64obsd_supply_pcb): Use 'gdb_byte *' instead
|
||||
|
@ -1080,8 +1080,8 @@ decode_objc (char **argptr, int funfirstline, struct symtab *file_symtab,
|
||||
struct symbol *sym = NULL;
|
||||
char *copy = NULL;
|
||||
struct block *block = NULL;
|
||||
int i1 = 0;
|
||||
int i2 = 0;
|
||||
unsigned i1 = 0;
|
||||
unsigned i2 = 0;
|
||||
|
||||
values.sals = NULL;
|
||||
values.nelts = 0;
|
||||
@ -1427,6 +1427,7 @@ find_method (int funfirstline, char ***canonical, char *saved_arg,
|
||||
}
|
||||
else
|
||||
{
|
||||
values.sals = NULL;
|
||||
values.nelts = 0;
|
||||
}
|
||||
return values;
|
||||
|
Loading…
Reference in New Issue
Block a user