Changeset 205461 in webkit
- Timestamp:
- Sep 5, 2016 5:03:08 PM (8 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r205454 r205461 1 2016-09-05 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 "Redundant argument in sprintf" warning spam from prepare-ChangeLog 4 https://bugs.webkit.org/show_bug.cgi?id=161606 5 6 Reviewed by Darin Adler. 7 8 Avoid extra arguments in call to sprintf. 9 10 * Scripts/prepare-ChangeLog: 11 (statusDescription): 12 1 13 2016-09-05 Michael Catanzaro <mcatanzaro@igalia.com> 2 14 -
trunk/Tools/Scripts/prepare-ChangeLog
r204695 r205461 2326 2326 2327 2327 my %svn = ( 2328 "A" => defined $original ? " Copied from \%s.": " Added.",2328 "A" => defined $original ? sprintf(" Copied from \%s.", $original) : " Added.", 2329 2329 "D" => " Removed.", 2330 2330 "M" => "", 2331 "R" => defined $original ? " Replaced with \%s.": " Replaced.",2331 "R" => defined $original ? sprintf(" Replaced with \%s.", $original) : " Replaced.", 2332 2332 " " => "", 2333 2333 ); … … 2335 2335 my %git = %svn; 2336 2336 $git{"A"} = " Added."; 2337 $git{"C"} = " Copied from \%s.";2338 $git{"R"} = " Renamed from \%s.";2337 $git{"C"} = sprintf(" Copied from \%s.", $original); 2338 $git{"R"} = sprintf(" Renamed from \%s.", $original); 2339 2339 2340 2340 my $description; 2341 $description = sprintf($svn{$status}, $original)if isSVN() && exists $svn{$status};2342 $description = sprintf($git{$status}, $original)if isGit() && exists $git{$status};2341 $description = $svn{$status} if isSVN() && exists $svn{$status}; 2342 $description = $git{$status} if isGit() && exists $git{$status}; 2343 2343 return unless defined $description; 2344 2344
Note: See TracChangeset
for help on using the changeset viewer.