Skip to content

Commit 57c5b3c

Browse files
committed
Fix wrong function description
1 parent 4a3c2ed commit 57c5b3c

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
@@ -313,7 +313,7 @@ code_typet original_return_type(
313313
return type;
314314
}
315315

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

0 commit comments

Comments
 (0)