Stage1b (v2 branch) of clang compiler warning patches.

This commit is contained in:
Euan Thoms
2015-11-06 01:29:26 +08:00
parent 9d31023724
commit eda84c7b5d
82 changed files with 186 additions and 154 deletions
+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"],