Skip to content

Commit 3fff776

Browse files
briannafanrniwa
authored andcommitted
Address the review comment.
1 parent 7da8518 commit 3fff776

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/tools/scan-build/bin/scan-build

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1472,9 +1472,8 @@ sub HtmlEscape {
14721472

14731473
sub URLEscape {
14741474
my $arg = shift || '';
1475-
my $tmp = $arg;
1476-
$tmp =~ s/\+/%2B/g;
1477-
return $tmp;
1475+
$arg =~ s/\+/%2B/g;
1476+
return $arg;
14781477
}
14791478

14801479
##----------------------------------------------------------------------------##

0 commit comments

Comments
 (0)