Differences From Artifact [19987f61b8]:
- File utils/ofhttp/OFHTTP.m — part of check-in [00476e4430] at 2017-10-11 20:53:10 on branch trunk — Fix shadowed variables and enable -Wshadow (user: js, size: 26263) [annotate] [blame] [check-ins using]
To Artifact [7674e4cd26]:
- File
utils/ofhttp/OFHTTP.m
— part of check-in
[2f4e0df8be]
at
2017-10-17 00:33:37
on branch trunk
— Do not use implicit method return types
Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (user: js, size: 26277) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
234 235 236 237 238 239 240 | [fileName retain]; objc_autoreleasePoolPop(pool); return [fileName autorelease]; } @implementation OFHTTP | | | 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 |
[fileName retain];
objc_autoreleasePoolPop(pool);
return [fileName autorelease];
}
@implementation OFHTTP
- (instancetype)init
{
self = [super init];
@try {
_method = OF_HTTP_REQUEST_METHOD_GET;
_clientHeaders = [[OFMutableDictionary alloc]
|
| ︙ | ︙ |