Changeset 76609 in webkit
- Timestamp:
- Jan 25, 2011, 10:28:35 AM (14 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r76600 r76609 1 2011-01-25 Marcilio Mendonca <mamendonca@rim.com> 2 3 Reviewed by Darin Adler. 4 5 Bug 53087: Refactoring: replaced a hanging "else" with a "return" 6 statement 7 https://bugs.webkit.org/show_bug.cgi?id=53087. 8 9 Refactoring work: Replaced a hanging "else" within an #if PLATFORM(M 10 with a "return" so that the code is more readable and less error pro 11 (e.g., "else" doesn't use braces so adding extra lines to the else 12 block won't have any effect; even worse, code still compiles 13 successfully. 14 15 * wtf/Assertions.cpp: 16 1 17 2011-01-24 Chris Marrin <cmarrin@apple.com> 2 18 -
trunk/Source/JavaScriptCore/wtf/Assertions.cpp
r72484 r76609 102 102 CFRelease(str); 103 103 CFRelease(cfFormat); 104 } else 104 return; 105 } 105 106 #elif PLATFORM(BREWMP) 106 107 // When str is 0, the return value is the number of bytes needed
Note:
See TracChangeset
for help on using the changeset viewer.