Fix build.
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Feb 2011 20:07:20 +0000 (20:07 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Feb 2011 20:07:20 +0000 (20:07 +0000)
* platform/text/TextCodecUTF16.cpp:
(WebCore::TextCodecUTF16::decode): Removed stray unused local variable.

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

Source/WebCore/ChangeLog
Source/WebCore/platform/text/TextCodecUTF16.cpp

index a284ba9..c5c6343 100644 (file)
@@ -1,3 +1,10 @@
+2011-02-23  Darin Adler  <darin@apple.com>
+
+        Fix build.
+
+        * platform/text/TextCodecUTF16.cpp:
+        (WebCore::TextCodecUTF16::decode): Removed stray unused local variable.
+
 2011-02-23  Dimitri Glazkov  <dglazkov@chromium.org>
 
         Reviewed by Darin Adler.
index f5dd59c..06887ea 100644 (file)
@@ -82,7 +82,6 @@ String TextCodecUTF16::decode(const char* bytes, size_t length, bool flush, bool
 
     if (length) {
         if (m_haveBufferedByte) {
-            UChar character;
             if (m_littleEndian)
                 *destination++ = m_bufferedByte | (source[0] << 8);
             else