Title: [98014] trunk/Source/WebCore
Revision
98014
Author
t...@chromium.org
Date
2011-10-20 12:36:22 -0700 (Thu, 20 Oct 2011)

Log Message

Fix a compiler warning in MediaStreamTrack.cpp:
../../third_party/WebKit/Source/WebCore/dom/MediaStreamTrack.cpp: In member function 'WTF::String WebCore::MediaStreamTrack::kind() const':
../../third_party/WebKit/Source/WebCore/dom/MediaStreamTrack.cpp:61:1: error: control reaches end of non-void function [-Werror=return-type]

Unreviewed build fix.

* dom/MediaStreamTrack.cpp:
(WebCore::MediaStreamTrack::kind):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (98013 => 98014)


--- trunk/Source/WebCore/ChangeLog	2011-10-20 19:34:05 UTC (rev 98013)
+++ trunk/Source/WebCore/ChangeLog	2011-10-20 19:36:22 UTC (rev 98014)
@@ -1,3 +1,14 @@
+2011-10-20  Tony Chang  <t...@chromium.org>
+
+        Fix a compiler warning in MediaStreamTrack.cpp:
+        ../../third_party/WebKit/Source/WebCore/dom/MediaStreamTrack.cpp: In member function 'WTF::String WebCore::MediaStreamTrack::kind() const':
+        ../../third_party/WebKit/Source/WebCore/dom/MediaStreamTrack.cpp:61:1: error: control reaches end of non-void function [-Werror=return-type]
+
+        Unreviewed build fix.
+
+        * dom/MediaStreamTrack.cpp:
+        (WebCore::MediaStreamTrack::kind):
+
 2011-10-20  Gustavo Noronha Silva  <g...@gnome.org>
 
         One more GTK+ build fix. Remove CueLoader files from the build.

Modified: trunk/Source/WebCore/dom/MediaStreamTrack.cpp (98013 => 98014)


--- trunk/Source/WebCore/dom/MediaStreamTrack.cpp	2011-10-20 19:34:05 UTC (rev 98013)
+++ trunk/Source/WebCore/dom/MediaStreamTrack.cpp	2011-10-20 19:36:22 UTC (rev 98014)
@@ -58,6 +58,7 @@
     }
 
     ASSERT_NOT_REACHED();
+    return String();
 }
 
 String MediaStreamTrack::label() const
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to