collect2.c (ignore_library): Avoid premature post-increment and null deference.
authorRichard Sandiford <r.sandiford@uk.ibm.com>
Tue, 2 Jun 2009 19:04:39 +0000 (19:04 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 2 Jun 2009 19:04:39 +0000 (19:04 +0000)
commit51136ae8188c4849ae4fb9451c26ef51f9801d7a
tree8e1c4102d3c40d7527e0ec7628300736d8e0be8b
parent7f142d333aa8e34f00195a9fffd549a458921434
collect2.c (ignore_library): Avoid premature post-increment and null deference.

gcc/
* collect2.c (ignore_library): Avoid premature post-increment
and null deference.

From-SVN: r148095
gcc/ChangeLog
gcc/collect2.c