Stage1b (v2 branch) of clang compiler warning patches.

This commit is contained in:
Euan Thoms committed 2015-11-06 01:29:26 +08:00
1 parent 9d31023724
commit eda84c7b5d
82 files changed
+186 -154

No files matched your search

+1 -1
View File
@@ -270,7 +270,7 @@
if ([filename length])
// We replace any slash by a dash since Apache won't allow encoded slashes by default.
// See http://httpd.apache.org/docs/2.2/mod/core.html#allowencodedslashes
filename = [filename stringByReplacingString: @"/" withString: @"-"];
filename = (NSMutableString *)[filename stringByReplacingString: @"/" withString: @"-"];
else
[filename appendFormat: @"%@-%@",
[self labelForKey: @"Untitled"],