Title: [143430] trunk/Source/_javascript_Core
Revision
143430
Author
[email protected]
Date
2013-02-19 22:02:17 -0800 (Tue, 19 Feb 2013)

Log Message

Unreviewed, uninteresting change to test a theory about bad dependency handling.

* API/JSStringRefCF.cpp:
(JSStringCreateWithCFString): Remove an unnecessary else clause.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/API/JSStringRefCF.cpp (143429 => 143430)


--- trunk/Source/_javascript_Core/API/JSStringRefCF.cpp	2013-02-20 05:57:29 UTC (rev 143429)
+++ trunk/Source/_javascript_Core/API/JSStringRefCF.cpp	2013-02-20 06:02:17 UTC (rev 143430)
@@ -51,9 +51,9 @@
         CFStringGetCharacters(string, CFRangeMake(0, length), buffer.get());
         COMPILE_ASSERT(sizeof(UniChar) == sizeof(UChar), unichar_and_uchar_must_be_same_size);
         return OpaqueJSString::create(reinterpret_cast<UChar*>(buffer.get()), length).leakRef();
-    } else {
-        return OpaqueJSString::create(static_cast<const LChar*>(0), 0).leakRef();
     }
+    
+    return OpaqueJSString::create(static_cast<const LChar*>(0), 0).leakRef();
 }
 
 CFStringRef JSStringCopyCFString(CFAllocatorRef alloc, JSStringRef string)

Modified: trunk/Source/_javascript_Core/ChangeLog (143429 => 143430)


--- trunk/Source/_javascript_Core/ChangeLog	2013-02-20 05:57:29 UTC (rev 143429)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-02-20 06:02:17 UTC (rev 143430)
@@ -1,3 +1,10 @@
+2013-02-19  Mark Rowe  <[email protected]>
+
+        Unreviewed, uninteresting change to test a theory about bad dependency handling.
+
+        * API/JSStringRefCF.cpp:
+        (JSStringCreateWithCFString): Remove an unnecessary else clause.
+
 2013-02-19  Oliver Hunt  <[email protected]>
 
         Silence some analyzer warnings
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to