Skip to content

Commit

Permalink
Got rid of several harmless Clang warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoul committed Sep 9, 2011
1 parent 1b0acc1 commit 4b6b716
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Decoder/FISoundSample.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ @implementation FISoundSample

- (id) init
{
[super init];
self = [super init];
channels = bitsPerChannel = sampleRate = duration = -1;
endianity = kEndianityUnknown;
return self;
Expand Down
2 changes: 1 addition & 1 deletion Finch/FIErrorReporter.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ @implementation FIErrorReporter

- (id) initWithDomain: (NSString*) errDomain error: (NSError**) error
{
[super init];
self = [super init];
domain = [errDomain retain];
if (error == NULL)
error = &dummyError;
Expand Down
2 changes: 1 addition & 1 deletion Finch/FIRevolverSound.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ @implementation FIRevolverSound

- (id) initWithVoices: (NSArray*) newVoices
{
[super init];
self = [super init];
[self setVoices:newVoices];
return self;
}
Expand Down
2 changes: 1 addition & 1 deletion Finch/FISound.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ - (id) initWithData: (const ALvoid*) data size: (ALsizei) size
format: (ALenum) format sampleRate: (ALsizei) frequency
duration: (float) seconds
{
[super init];
self = [super init];

ALCcontext *const currentContext = alcGetCurrentContext();
if (currentContext == NULL)
Expand Down
2 changes: 1 addition & 1 deletion Finch/FISoundEngine.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ @implementation FISoundEngine

- (id) init
{
[super init];
self = [super init];
[self setLogger:FILoggerNull];
return self;
}
Expand Down

0 comments on commit 4b6b716

Please sign in to comment.