mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 09:02:01 +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
|
@ -1,7 +1,9 @@
|
||||||
2010-09-10 Riccardo Mottola
|
2010-09-10 Riccardo Mottola
|
||||||
|
|
||||||
* Source/unix/GSRunLoopCtxt.m: only access array if port responds to selector, or it is not initialized.
|
* Source/unix/GSRunLoopCtxt.m: only access array if port responds to selector, or it is not initialized
|
||||||
* NSDate.m: use init return value
|
|
||||||
|
* Source/NSDate.m,
|
||||||
|
* Source/NSScanner.m: use init return value
|
||||||
|
|
||||||
2010-09-10 Richard Frith-Macdonald <rfm@gnu.org>
|
2010-09-10 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
|
|
@ -1146,7 +1146,7 @@ typedef GSString *ivars;
|
||||||
{
|
{
|
||||||
NSScanner *n = [[self class] allocWithZone: zone];
|
NSScanner *n = [[self class] allocWithZone: zone];
|
||||||
|
|
||||||
[n initWithString: _string];
|
n = [n initWithString: _string];
|
||||||
[n setCharactersToBeSkipped: _charactersToBeSkipped];
|
[n setCharactersToBeSkipped: _charactersToBeSkipped];
|
||||||
[n setLocale: _locale];
|
[n setLocale: _locale];
|
||||||
[n setScanLocation: _scanLocation];
|
[n setScanLocation: _scanLocation];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue