Skip to content

Commit

Permalink
[preload] Don't declare $log_return_val twice
Browse files Browse the repository at this point in the history
  • Loading branch information
Thaodan committed Jan 19, 2021
1 parent f395409 commit 01cf22e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scratchbox2/preload/gen-interface.pl
Expand Up @@ -1213,7 +1213,6 @@ sub command_wrap_or_gate {
# ..and the actual call.
my $call_line_prefix = "\t";
my $return_statement = ""; # return stmt not needed if fn_type==void
my $log_return_val = "";
if($mods->{'return_expr'}) {
$return_statement .= "\tret = ".$mods->{'return_expr'}.";\n";
}
Expand Down

0 comments on commit 01cf22e

Please sign in to comment.