mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
Eliminate redundant pst test.
This commit is contained in:
parent
16f33e2966
commit
c5f231f75b
@ -1,3 +1,8 @@
|
||||
2000-08-10 Andrew Cagney <cagney@ops1.cygnus.com>
|
||||
|
||||
* partial-stab.h (DBX_READ): Eliminate redundant check for null
|
||||
``pst''. Also fixes GCC warning.
|
||||
|
||||
2000-08-10 Andrew Cagney <cagney@ops1.cygnus.com>
|
||||
|
||||
* rs6000-nat.c (set_host_arch): Check value returned by
|
||||
|
@ -401,7 +401,7 @@ switch (CUR_SYMBOL_TYPE)
|
||||
function relative stabs, or the address of the function's
|
||||
end for old style stabs. */
|
||||
valu = CUR_SYMBOL_VALUE + last_function_start;
|
||||
if (pst && pst->texthigh == 0 || valu > pst->texthigh)
|
||||
if (pst->texthigh == 0 || valu > pst->texthigh)
|
||||
pst->texthigh = valu;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user