more static analyser fixups

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36532 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2013-04-14 18:49:23 +00:00
parent 119c9a28c2
commit f371df09b6
8 changed files with 50 additions and 46 deletions

View file

@ -917,7 +917,6 @@ static NSURLProtocol *placeholder = nil;
if (YES == wasInHeaders && NO == isInHeaders)
{
GSMimeHeader *info;
NSString *enc;
int len = -1;
NSString *ct;
NSString *st;
@ -950,11 +949,15 @@ static NSURLProtocol *placeholder = nil;
}
s = [info objectForKey: NSHTTPPropertyStatusReasonKey];
/* Should use this?
NSString *enc;
enc = [[document headerNamed: @"content-transfer-encoding"] value];
if (enc == nil)
{
enc = [[document headerNamed: @"transfer-encoding"] value];
}
*/
info = [document headerNamed: @"content-type"];
ct = [document contentType];