2011-03-01 Michael Snyder <msnyder@vmware.com>

* jv-lang.c (evaluate_subexp_java): Conditional can't be true.
This commit is contained in:
Michael Snyder 2011-03-02 00:42:53 +00:00
parent 62d5b8da6a
commit 777666697a
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2011-03-01 Michael Snyder <msnyder@vmware.com>
* jv-lang.c (evaluate_subexp_java): Conditional can't be true.
* dwarf2read.c (dwarf2_compute_name): NAME cannot be null here.
* cli/cli-dump.c (restore_binary_file): Validate ftell return value.

View File

@ -918,8 +918,6 @@ evaluate_subexp_java (struct type *expect_type, struct expression *exp,
type = type_from_class (exp->gdbarch, java_class_from_object (arg1));
arg1 = value_cast (lookup_pointer_type (type), arg1);
}
if (noside == EVAL_SKIP)
goto nosideret;
return value_ind (arg1);
case BINOP_SUBSCRIPT: