fix npe
This commit is contained in:
parent
eb800e9744
commit
08fcd15f16
|
@ -1621,7 +1621,7 @@ amiga_write_object_contents (
|
|||
if (AMIGA_DATA(abfd)->IsLoadFile)
|
||||
{
|
||||
// remove .stab and .stabstr
|
||||
for (q = abfd->sections, p = q->next; ; p = p->next)
|
||||
for (q = abfd->sections, p = q->next; p; p = p->next)
|
||||
{
|
||||
if (0 == strcmp (p->name, ".stab"))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue