Title: [235965] trunk/Tools
Revision
235965
Author
[email protected]
Date
2018-09-12 19:03:12 -0700 (Wed, 12 Sep 2018)

Log Message

[Win][Clang][ImageDiff] Fix compilation error and warning of PlatformImageCairo.cpp
https://bugs.webkit.org/show_bug.cgi?id=189496
<rdar://problem/44370981>

Unreviewed warning fix.

r235929 has introduced a new compilation warning:
> Tools/ImageDiff/cairo/PlatformImageCairo.cpp:34:70: warning: unused parameter ‘imageSize’ [-Wunused-parameter]

* ImageDiff/cairo/PlatformImageCairo.cpp:
(ImageDiff::PlatformImage::createFromStdin): Removed the variable name.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (235964 => 235965)


--- trunk/Tools/ChangeLog	2018-09-13 01:58:43 UTC (rev 235964)
+++ trunk/Tools/ChangeLog	2018-09-13 02:03:12 UTC (rev 235965)
@@ -1,3 +1,17 @@
+2018-09-12  Fujii Hironori  <[email protected]>
+
+        [Win][Clang][ImageDiff] Fix compilation error and warning of PlatformImageCairo.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=189496
+        <rdar://problem/44370981>
+
+        Unreviewed warning fix.
+
+        r235929 has introduced a new compilation warning:
+        > Tools/ImageDiff/cairo/PlatformImageCairo.cpp:34:70: warning: unused parameter ‘imageSize’ [-Wunused-parameter]
+
+        * ImageDiff/cairo/PlatformImageCairo.cpp:
+        (ImageDiff::PlatformImage::createFromStdin): Removed the variable name.
+
 2018-09-12  Dan Bernstein  <[email protected]>
 
         [Cocoa] Complete support for Paste as Quotation

Modified: trunk/Tools/ImageDiff/cairo/PlatformImageCairo.cpp (235964 => 235965)


--- trunk/Tools/ImageDiff/cairo/PlatformImageCairo.cpp	2018-09-13 01:58:43 UTC (rev 235964)
+++ trunk/Tools/ImageDiff/cairo/PlatformImageCairo.cpp	2018-09-13 02:03:12 UTC (rev 235965)
@@ -31,7 +31,7 @@
 
 namespace ImageDiff {
 
-std::unique_ptr<PlatformImage> PlatformImage::createFromStdin(size_t imageSize)
+std::unique_ptr<PlatformImage> PlatformImage::createFromStdin(size_t)
 {
     cairo_surface_t* surface = cairo_image_surface_create_from_png_stream(
         [](void*, unsigned char* data, unsigned length) -> cairo_status_t {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to