From c5f231f75bfd3c9195d98fc2788c10fc98f4a499 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 11 Aug 2000 01:47:47 +0000 Subject: Eliminate redundant pst test. --- gdb/partial-stab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/partial-stab.h') diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h index c07d957..6691b75 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; } -- cgit v1.1