Skip to content

Commit 5ff94de

Browse files
Use empty()
1 parent 9078d15 commit 5ff94de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analyses/goto_check.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1703,7 +1703,7 @@ void goto_checkt::goto_check(
17031703
if(!it->source_location.get_column().empty())
17041704
i_it->source_location.set_column(it->source_location.get_column());
17051705

1706-
if(it->source_location.get_java_bytecode_index()!=irep_idt())
1706+
if(!it->source_location.get_java_bytecode_index().empty())
17071707
i_it->source_location.set_java_bytecode_index(
17081708
it->source_location.get_java_bytecode_index());
17091709
}

0 commit comments

Comments
 (0)