Fixed local variable name that had the same name as method argument - confusing

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@23198 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
nicola 2006-08-03 00:14:22 +00:00
parent 71db8ef0b5
commit 47f03c5d6a
2 changed files with 11 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2006-08-03 Nicola Pero <nicola.pero@meta-innovation.com>
* SQLClient.m ([SQLClient -quoteString:]): Renamed local variable
that had the same name as the method argument.
2005-06-23 Richard Frith-Macdonald <rfm@gnu.org>
* SQLClient.m: transaction efficiency tweak.

View file

@ -974,17 +974,17 @@ static unsigned int maxConnections = 8;
if (special == nil)
{
NSString *s;
NSString *stemp;
/*
* NB. length of C string is 2, so we include a nul character as a
* special.
*/
s = [[NSString alloc] initWithBytes: "'"
length: 2
encoding: NSASCIIStringEncoding];
special = [NSCharacterSet characterSetWithCharactersInString: s];
RELEASE(s);
stemp = [[NSString alloc] initWithBytes: "'"
length: 2
encoding: NSASCIIStringEncoding];
special = [NSCharacterSet characterSetWithCharactersInString: stemp];
RELEASE(stemp);
RETAIN(special);
}