Correct issues with missing or incorrect self

tests in initXXX methods pointed out by static analyser.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32588 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2011-03-14 22:59:20 +00:00
parent a6086e2728
commit 8cf1cd3bab
23 changed files with 204 additions and 50 deletions

View file

@ -618,12 +618,12 @@
- (int) incrementalLoadFromData: (NSData *)data complete: (BOOL)complete
{
if (!complete)
if (!complete)
{
// we don't implement it really
return NSImageRepLoadStatusWillNeedAllData;
}
return [self initWithData:data] ? NSImageRepLoadStatusCompleted : NSImageRepLoadStatusUnexpectedEOF;
return [self initWithData:data] ? NSImageRepLoadStatusCompleted : NSImageRepLoadStatusUnexpectedEOF;
}
- (void) dealloc