⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 155435 in webkit


Ignore:
Timestamp:
Sep 10, 2013, 6:32:39 AM (13 years ago)
Author:
berto@igalia.com
Message:

[GTK] The code generator produces a warning if a parameter can be NULL
https://bugs.webkit.org/show_bug.cgi?id=121093

Reviewed by Christophe Dumez.

Return an empty string instead of an undefined value if a
particular parameter doesn't need to be checked.

  • bindings/scripts/CodeGeneratorGObject.pm:

(GetGReturnMacro):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r155434 r155435  
     12013-09-10  Alberto Garcia  <berto@igalia.com>
     2
     3        [GTK] The code generator produces a warning if a parameter can be NULL
     4        https://bugs.webkit.org/show_bug.cgi?id=121093
     5
     6        Reviewed by Christophe Dumez.
     7
     8        Return an empty string instead of an undefined value if a
     9        particular parameter doesn't need to be checked.
     10
     11        * bindings/scripts/CodeGeneratorGObject.pm:
     12        (GetGReturnMacro):
     13
    1142013-09-10  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
    215
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm

    r155229 r155435  
    844844    } else {
    845845        if (ParamCanBeNull($functionName, $paramName)) {
    846             return;
     846            return "";
    847847        }
    848848        $condition = "$paramName";
Note: See TracChangeset for help on using the changeset viewer.