Changeset 205478 in webkit


Ignore:
Timestamp:
Sep 6, 2016 7:32:02 AM (8 years ago)
Author:
commit-queue@webkit.org
Message:

Unreviewed, rolling out r205461.
https://bugs.webkit.org/show_bug.cgi?id=161628

Introduced "Use of uninitialized value $original in sprintf"
warning (Requested by mcatanzaro on #webkit).

Reverted changeset:

""Redundant argument in sprintf" warning spam from prepare-
ChangeLog"
https://bugs.webkit.org/show_bug.cgi?id=161606
http://trac.webkit.org/changeset/205461

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r205476 r205478  
     12016-09-06  Commit Queue  <commit-queue@webkit.org>
     2
     3        Unreviewed, rolling out r205461.
     4        https://bugs.webkit.org/show_bug.cgi?id=161628
     5
     6        Introduced "Use of uninitialized value $original in sprintf"
     7        warning (Requested by mcatanzaro on #webkit).
     8
     9        Reverted changeset:
     10
     11        ""Redundant argument in sprintf" warning spam from prepare-
     12        ChangeLog"
     13        https://bugs.webkit.org/show_bug.cgi?id=161606
     14        http://trac.webkit.org/changeset/205461
     15
    1162016-09-06  Youenn Fablet  <youenn@apple.com>
    217
  • trunk/Tools/Scripts/prepare-ChangeLog

    r205461 r205478  
    23262326
    23272327    my %svn = (
    2328         "A" => defined $original ? sprintf(" Copied from \%s.", $original) : " Added.",
     2328        "A" => defined $original ? " Copied from \%s." : " Added.",
    23292329        "D" => " Removed.",
    23302330        "M" => "",
    2331         "R" => defined $original ? sprintf(" Replaced with \%s.", $original) : " Replaced.",
     2331        "R" => defined $original ? " Replaced with \%s." : " Replaced.",
    23322332        " " => "",
    23332333    );
     
    23352335    my %git = %svn;
    23362336    $git{"A"} = " Added.";
    2337     $git{"C"} = sprintf(" Copied from \%s.", $original);
    2338     $git{"R"} = sprintf(" Renamed from \%s.", $original);
     2337    $git{"C"} = " Copied from \%s.";
     2338    $git{"R"} = " Renamed from \%s.";
    23392339
    23402340    my $description;
    2341     $description = $svn{$status} if isSVN() && exists $svn{$status};
    2342     $description = $git{$status} if isGit() && exists $git{$status};
     2341    $description = sprintf($svn{$status}, $original) if isSVN() && exists $svn{$status};
     2342    $description = sprintf($git{$status}, $original) if isGit() && exists $git{$status};
    23432343    return unless defined $description;
    23442344
Note: See TracChangeset for help on using the changeset viewer.