Reviewed by NOBODY (Build Fix!)
authorbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Jul 2006 10:31:06 +0000 (10:31 +0000)
committerbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Jul 2006 10:31:06 +0000 (10:31 +0000)
        * icon/SiteIcon.cpp:
        (SiteIcon::getImage):
        Release build made an "unused variable" warning, which is, of course, an error.  fixed that.

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

WebCore/ChangeLog
WebCore/icon/SiteIcon.cpp

index b94a0f97a8dafa8cf5e7dd1b59532c033e56092e..1aeb1cb52330d7e11be59dd2aeb3810f63c35ced 100644 (file)
@@ -1,3 +1,11 @@
+2006-07-10  Brady Eidson  <beidson@apple.com>
+
+        Reviewed by NOBODY (Build Fix!)
+
+        * icon/SiteIcon.cpp:
+        (SiteIcon::getImage):
+        Release build made an "unused variable" warning, which is, of course, an error.  fixed that.
+
 2006-07-10  Brady Eidson  <beidson@apple.com>
 
         Reviewed by Maciej
index 8ee835a221964aade5c2f19ec6c73b07065709fa..acf0410e81614e3454950202247182b3fe28c261 100644 (file)
@@ -57,7 +57,8 @@ Image* SiteIcon::getImage(const IntSize& size)
         if (!imageData.size())
             return 0;
 
-        int checksum = 0;
+        int checksum;
+        checksum = 0;
 #ifndef NDEBUG
         for (unsigned int i=0; i<imageData.size(); ++i) 
             checksum += imageData[i];