mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Avoid compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25516 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ca987ee72b
commit
3308dcf842
1 changed files with 4 additions and 4 deletions
|
@ -5171,7 +5171,7 @@ static void indentation(unsigned level, NSMutableString *str)
|
|||
return method;
|
||||
}
|
||||
|
||||
- (NSDictionary*) parseResponse: (NSData*)response
|
||||
- (NSDictionary*) parseResponse: (NSData*)resp
|
||||
params: (NSMutableArray*)params
|
||||
{
|
||||
GSXPathContext *ctx = nil;
|
||||
|
@ -5185,7 +5185,7 @@ static void indentation(unsigned level, NSMutableString *str)
|
|||
{
|
||||
GSXMLDocument *doc = nil;
|
||||
|
||||
parser = [GSXMLParser parserWithData: response];
|
||||
parser = [GSXMLParser parserWithData: resp];
|
||||
[parser substituteEntities: YES];
|
||||
[parser saveMessages: YES];
|
||||
if ([parser parse] == YES)
|
||||
|
@ -5422,11 +5422,11 @@ static void indentation(unsigned level, NSMutableString *str)
|
|||
|
||||
if (code == 200)
|
||||
{
|
||||
NSData *response = [handle availableResourceData];
|
||||
NSData *resp = [handle availableResourceData];
|
||||
|
||||
NS_DURING
|
||||
{
|
||||
fault = [self parseResponse: response params: params];
|
||||
fault = [self parseResponse: resp params: params];
|
||||
}
|
||||
NS_HANDLER
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue