Skip to content

Commit 308c503

Browse files
committed
Remove unnecessary use of name2string
operator<< is defined for irep_idt.
1 parent 1a1245e commit 308c503

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/goto-instrument/contracts/contracts.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,8 +1087,7 @@ void code_contractst::check_frame_conditions(
10871087
// Notice that for them those variables be writable,
10881088
// they must appear as assigns targets anyway,
10891089
// but their DECL statements are outside of the loop.
1090-
log.warning() << "Found a `DEAD` variable "
1091-
<< name2string(symbol.get_identifier())
1090+
log.warning() << "Found a `DEAD` variable " << symbol.get_identifier()
10921091
<< " without corresponding `DECL`, at: "
10931092
<< instruction_it->source_location() << messaget::eom;
10941093
}

0 commit comments

Comments
 (0)