Fix an uninitialized value warning in CodeGeneratorJS.pm
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Mar 2008 17:21:44 +0000 (17:21 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Mar 2008 17:21:44 +0000 (17:21 +0000)
        * bindings/scripts/CodeGeneratorJS.pm: Remove reference to
        non-existent $maybeOkParam (this was removed in r30753).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@30754 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/bindings/scripts/CodeGeneratorJS.pm

index f4cef03a7ec02b59984774b36fe1e0b802c4bcc1..de83bfbcaafa17232ed1021e56aa88d64f5eabcf 100644 (file)
@@ -1,3 +1,10 @@
+2008-03-04  Adam Roben  <aroben@apple.com>
+
+        Fix an uninitialized value warning in CodeGeneratorJS.pm
+
+        * bindings/scripts/CodeGeneratorJS.pm: Remove reference to
+        non-existent $maybeOkParam (this was removed in r30753).
+
 2008-03-04  Sam Weinig  <sam@webkit.org>
 
         Reviewed by Darin Adler.
index 6d975480dee492c28a720371453478735b61d836..e65adb6e1ac95677eb8f80c6be103c181a63a0d7 100644 (file)
@@ -1451,7 +1451,7 @@ sub JSValueToNative
     return "$value->toBoolean(exec)" if $type eq "boolean";
     return "$value->toNumber(exec)" if $type eq "double";
     return "$value->toFloat(exec)" if $type eq "float" or $type eq "SVGNumber";
-    return "$value->toInt32(exec${maybeOkParam})" if $type eq "unsigned long" or $type eq "long" or $type eq "unsigned short";
+    return "$value->toInt32(exec)" if $type eq "unsigned long" or $type eq "long" or $type eq "unsigned short";
 
     return "static_cast<Range::CompareHow>($value->toInt32(exec))" if $type eq "CompareHow";
     return "static_cast<SVGPaint::SVGPaintType>($value->toInt32(exec))" if $type eq "SVGPaintType";