[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BFD xsym.c v1.3 variable index undefined in function
From: |
Neb Revod |
Subject: |
BFD xsym.c v1.3 variable index undefined in function |
Date: |
Tue, 18 Feb 2003 03:27:05 -0500 |
Hello:
In the snippet below, from: /src/binutils/bfd/xsym.c the variable `index' is
not defined, I think it should be
`offset' instead. Hmm... is index defined as a macro pointing to strchr?
int
bfd_sym_fetch_type_information_table_entry (abfd, entry, offset)
bfd *abfd;
bfd_sym_type_information_table_entry *entry;
unsigned long offset;
{
unsigned char buf[4];
bfd_sym_data_struct *sdata = NULL;
BFD_ASSERT (bfd_sym_valid (abfd));
sdata = abfd->tdata.sym_data;
if (index == 0) /* should be offset instead of index ? */
return -1;
Regardes,
M.J Revod
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
- BFD xsym.c v1.3 variable index undefined in function,
Neb Revod <=