Remove useless const modifier from KURL::init
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Nov 2011 19:16:34 +0000 (19:16 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Nov 2011 19:16:34 +0000 (19:16 +0000)
<http://webkit.org/b/72387>

Reviewed by Darin Adler.

* platform/KURL.cpp:
(WebCore::KURL::init): Remove useless const.

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

Source/WebCore/ChangeLog
Source/WebCore/platform/KURL.cpp

index c5c9ea2..3ba7b6f 100644 (file)
@@ -1,3 +1,13 @@
+2011-11-15  David Kilzer  <ddkilzer@apple.com>
+
+        Remove useless const modifier from KURL::init
+        <http://webkit.org/b/72387>
+
+        Reviewed by Darin Adler.
+
+        * platform/KURL.cpp:
+        (WebCore::KURL::init): Remove useless const.
+
 2011-11-14  Anders Carlsson  <andersca@apple.com>
 
         HostWindow invalidation functions should use root view coordinates
index ad8f8d8..e752bb8 100644 (file)
@@ -486,7 +486,7 @@ void KURL::init(const KURL& base, const String& relative, const TextEncoding& en
                 parseBuffer.resize(bufferSize);
 
                 char* bufferPos = parseBuffer.data();
-                const char* bufferStart = bufferPos;
+                char* bufferStart = bufferPos;
 
                 // first copy everything before the path from the base
                 unsigned baseLength = base.m_string.length();