diff options
author | dynaflash <[email protected]> | 2011-06-14 20:54:10 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2011-06-14 20:54:10 +0000 |
commit | 3db1924b1f1cca8d6c949c2e2142fdc2861d018f (patch) | |
tree | 4aca946eb3fec2017aa2992c07459767c0263a76 /macosx/HBAudioController.m | |
parent | 5cda40098c43e925c711679c8d523b6ad420c9e6 (diff) |
MacGui: Don't call "return" at the end of a void function.. .. Redux!
- As Per https://reviews.handbrake.fr/r/122/
- Thanks blindjimmy for the patche(s).
- Borked commit notes courtesy of me.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4058 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAudioController.m')
-rw-r--r-- | macosx/HBAudioController.m | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/macosx/HBAudioController.m b/macosx/HBAudioController.m index 0e0b835c0..cab0a3df0 100644 --- a/macosx/HBAudioController.m +++ b/macosx/HBAudioController.m @@ -55,7 +55,6 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; [audioArray release]; [self setVideoContainerTag: nil]; [super dealloc]; - return; } - (void) setHBController: (id) aController @@ -67,7 +66,6 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; /* register that we are interested in changes made to the video container */ [center addObserver: self selector: @selector(containerChanged:) name: HBContainerChangedNotification object: aController]; [center addObserver: self selector: @selector(titleChanged:) name: HBTitleChangedNotification object: aController]; - return; } - (void) _clearAudioArray @@ -77,7 +75,6 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; { [self removeObjectFromAudioArrayAtIndex: 0]; } - return; } #pragma mark - @@ -133,7 +130,6 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; [aDict setObject: [[anAudio bitRate] objectForKey: keyAudioBitrate] forKey: [prefix stringByAppendingString: @"Bitrate"]]; } } - return; } - (void) prepareAudioForJob: (hb_job_t *) aJob @@ -177,7 +173,6 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; free(audio); } } - return; } - (void) prepareAudioForPreset: (NSMutableArray *) anArray @@ -204,7 +199,6 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; [dict release]; } } - return; } - (void) addTracksFromQueue: (NSMutableDictionary *) aQueue @@ -241,8 +235,6 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; } [self switchingTrackFromNone: nil]; // see if we need to add one to the list - - return; } // This routine takes the preset and will return the value for the key AudioList @@ -344,7 +336,6 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; [newAudio release]; } } - return; } // This matches the FIRST track with the specified prefix, otherwise it uses the defaultIfNotFound value @@ -415,8 +406,6 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; } } } - - return; } - (void) _ensureAtLeastOneNonEmptyTrackExists @@ -428,7 +417,6 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; [self addTracksFromPreset: [self _defaultPreset] allTracks: NO]; } [self switchingTrackFromNone: nil]; // this ensures there is a None track at the end of the list - return; } - (void) addTracksFromPreset: (NSMutableDictionary *) aPreset @@ -436,7 +424,6 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; { [self addTracksFromPreset: aPreset allTracks: NO]; [self _ensureAtLeastOneNonEmptyTrackExists]; - return; } - (void) addAllTracksFromPreset: (NSMutableDictionary *) aPreset @@ -444,7 +431,6 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; { [self addTracksFromPreset: aPreset allTracks: YES]; [self _ensureAtLeastOneNonEmptyTrackExists]; - return; } - (BOOL) anyCodecMatches: (int) aCodecValue @@ -474,7 +460,6 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; [newAudio setDrc: [NSNumber numberWithFloat: 0.0]]; [newAudio setGain: [NSNumber numberWithFloat: 0.0]]; [newAudio release]; - return; } #pragma mark - @@ -493,7 +478,6 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; [self removeObjectFromAudioArrayAtIndex: index]; } [self switchingTrackFromNone: nil]; // see if we need to add one to the list - return; } - (void) switchingTrackFromNone: (HBAudio *) noLongerNoneTrack @@ -524,7 +508,6 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; { [self addNewAudioTrack]; } - return; } // This gets called whenever the video container changes. @@ -543,7 +526,6 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; { [audioObject setVideoContainerTag: [self videoContainerTag]]; } - return; } - (void) titleChanged: (NSNotification *) aNotification @@ -591,7 +573,6 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; { [self _ensureAtLeastOneNonEmptyTrackExists]; } - return; } #pragma mark - @@ -613,14 +594,12 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; { [audioArray insertObject: audioObject atIndex: index]; - return; } - (void) removeObjectFromAudioArrayAtIndex: (unsigned int) index { [audioArray removeObjectAtIndex: index]; - return; } @end |