mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
use init return value
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31278 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
86c180dc79
commit
355f3a4ba4
2 changed files with 5 additions and 3 deletions
|
@ -1146,7 +1146,7 @@ typedef GSString *ivars;
|
|||
{
|
||||
NSScanner *n = [[self class] allocWithZone: zone];
|
||||
|
||||
[n initWithString: _string];
|
||||
n = [n initWithString: _string];
|
||||
[n setCharactersToBeSkipped: _charactersToBeSkipped];
|
||||
[n setLocale: _locale];
|
||||
[n setScanLocation: _scanLocation];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue