Skip to content

Commit 6298c18

Browse files
committed
Fix wrong function description
1 parent 9e355e9 commit 6298c18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goto-programs/remove_returns.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ code_typet original_return_type(
314314
return type;
315315
}
316316

317-
/// turns 'return x' into an assignment to fkt#return_value
317+
/// turns an assignment to fkt#return_value back into 'return x'
318318
bool remove_returnst::restore_returns(
319319
goto_functionst::function_mapt::iterator f_it)
320320
{

0 commit comments

Comments
 (0)