summaryrefslogtreecommitdiffstats
path: root/gdb/partial-stab.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-08-11 01:47:47 +0000
committerAndrew Cagney <cagney@redhat.com>2000-08-11 01:47:47 +0000
commitc5f231f75bfd3c9195d98fc2788c10fc98f4a499 (patch)
tree1abb0b9f3768a63adde8f695c57f7cca31372393 /gdb/partial-stab.h
parent16f33e29665bda543991f02b53da05d7e6486f13 (diff)
downloadppe42-binutils-c5f231f75bfd3c9195d98fc2788c10fc98f4a499.tar.gz
ppe42-binutils-c5f231f75bfd3c9195d98fc2788c10fc98f4a499.zip
Eliminate redundant pst test.
Diffstat (limited to 'gdb/partial-stab.h')
-rw-r--r--gdb/partial-stab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h
index c07d9575e2..6691b75a0c 100644
--- a/gdb/partial-stab.h
+++ b/gdb/partial-stab.h
@@ -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;
}
OpenPOWER on IntegriCloud