File tree Expand file tree Collapse file tree 1 file changed +9
-14
lines changed
Expand file tree Collapse file tree 1 file changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -1627,21 +1627,16 @@ void goto_checkt::goto_check(
16271627
16281628 exprt pointer=i.code .op0 ().op0 ();
16291629
1630- if (pointer.type ().subtype ().get (ID_identifier)!=
1631- " java::java.lang.AssertionError" )
1632- {
1633- notequal_exprt not_eq_null (
1634- pointer,
1635- null_pointer_exprt (to_pointer_type (pointer.type ())));
1630+ const notequal_exprt not_eq_null (
1631+ pointer, null_pointer_exprt (to_pointer_type (pointer.type ())));
16361632
1637- add_guarded_claim (
1638- not_eq_null,
1639- " throwing null" ,
1640- " pointer dereference" ,
1641- i.source_location ,
1642- pointer,
1643- guardt ());
1644- }
1633+ add_guarded_claim (
1634+ not_eq_null,
1635+ " throwing null" ,
1636+ " pointer dereference" ,
1637+ i.source_location ,
1638+ pointer,
1639+ guardt ());
16451640 }
16461641
16471642 // this has no successor
You can’t perform that action at this time.
0 commit comments