[Webkit-unassigned] [Bug 121900] New: Fix warning in makeprop.pl

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 25 04:41:17 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=121900

           Summary: Fix warning in makeprop.pl
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: berto at igalia.com
                CC: rniwa at webkit.org


After r155511:

Reference found where even-sized list expected at ../../Source/WebCore/css/makeprop.pl line 42.
Reference found where even-sized list expected at ../../Source/WebCore/css/makeprop.pl line 43.

The problem is here:

my %nameIsInherited = {};
my %nameToId = {};

{} is not an empty hash, it's a _reference_ to an empty hash.
Hashes are initialized using lists, with ().

Anyway, there's no need to initialize it explicitly to () either since that's already the default value.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list