summaryrefslogtreecommitdiff
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
commit8bcb8c7f8e758f07bed8e0ceff58782a95f1f9ea (patch)
tree67cfeb2104c32a17a05186ff09cec182bdef1df1 /gdb/partial-stab.h
parent073bef809a068ad1d8d6b960504ea899273c40cd (diff)
downloadgdb-8bcb8c7f8e758f07bed8e0ceff58782a95f1f9ea.tar.gz
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 c07d9575e2d..6691b75a0c5 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;
}