mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
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:
parent
119c9a28c2
commit
f371df09b6
8 changed files with 50 additions and 46 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue