Title: [92836] trunk/Source/ThirdParty/ANGLE
Revision
92836
Author
[email protected]
Date
2011-08-11 03:04:05 -0700 (Thu, 11 Aug 2011)

Log Message

[Qt]Fix warnings after r92805.

Reviewed by Csaba Osztrogonác.

Control reached the end non-void functions.

* src/compiler/ossource_posix.cpp:
(OS_AllocTLSIndex):
(OS_SetTLSValue):

Modified Paths

Diff

Modified: trunk/Source/ThirdParty/ANGLE/ChangeLog (92835 => 92836)


--- trunk/Source/ThirdParty/ANGLE/ChangeLog	2011-08-11 09:34:16 UTC (rev 92835)
+++ trunk/Source/ThirdParty/ANGLE/ChangeLog	2011-08-11 10:04:05 UTC (rev 92836)
@@ -1,5 +1,17 @@
 2011-08-11  Renata Hodovan  <[email protected]>
 
+        [Qt]Fix warnings after r92805.
+
+        Reviewed by Csaba Osztrogonác.
+
+        Control reached the end non-void functions.
+
+        * src/compiler/ossource_posix.cpp:
+        (OS_AllocTLSIndex):
+        (OS_SetTLSValue):
+
+2011-08-11  Renata Hodovan  <[email protected]>
+
         Build fix on Qt Windows 32-bit Release/Debug after r92805.
 
         Unreviewed.

Modified: trunk/Source/ThirdParty/ANGLE/src/compiler/ossource_posix.cpp (92835 => 92836)


--- trunk/Source/ThirdParty/ANGLE/src/compiler/ossource_posix.cpp	2011-08-11 09:34:16 UTC (rev 92835)
+++ trunk/Source/ThirdParty/ANGLE/src/compiler/ossource_posix.cpp	2011-08-11 10:04:05 UTC (rev 92836)
@@ -27,9 +27,7 @@
         assert(0 && "OS_AllocTLSIndex(): Unable to allocate Thread Local Storage");
         return false;
     }
-    else {
-        return pPoolIndex;
-    }
+    return pPoolIndex;
 }
 
 
@@ -42,8 +40,7 @@
 
     if (pthread_setspecific(nIndex, lpvValue) == 0)
         return true;
-    else
-        return false;
+    return false;
 }
 
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to