Updated Branches: refs/heads/master 0b9c472b5 -> 7aa44ac35
Fixing NSString initWithString with empty string to just use empty string. Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/7aa44ac3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/7aa44ac3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/7aa44ac3 Branch: refs/heads/master Commit: 7aa44ac351569ced57310ff622b27a0d75089c4c Parents: 0b9c472 Author: Michal Mocny <mmo...@gmail.com> Authored: Fri Aug 3 11:05:20 2012 -0400 Committer: Andrew Grieve <agri...@chromium.org> Committed: Fri Aug 3 11:27:34 2012 -0400 ---------------------------------------------------------------------- CordovaLib/Classes/CDVFile.m | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/7aa44ac3/CordovaLib/Classes/CDVFile.m ---------------------------------------------------------------------- diff --git a/CordovaLib/Classes/CDVFile.m b/CordovaLib/Classes/CDVFile.m index b17a307..17a8880 100644 --- a/CordovaLib/Classes/CDVFile.m +++ b/CordovaLib/Classes/CDVFile.m @@ -1012,7 +1012,7 @@ extern NSString * const NSURLIsExcludedFromBackupKey __attribute__((weak_import) pNStrBuff = [[NSString alloc] initWithBytes: [readData bytes] length: [readData length] encoding: NSUTF8StringEncoding]; } else { // return empty string if no data - pNStrBuff = [[NSString alloc] initWithString: @""]; + pNStrBuff = @""; }