diff options
author | ritsuka <[email protected]> | 2015-01-19 15:35:35 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-01-19 15:35:35 +0000 |
commit | 2e7330affab701fb1443fec449e2b04690b32e33 (patch) | |
tree | b00b4de54ca6c26d5ecb7c13b15f344292b00988 /macosx/HBPreviewGenerator.m | |
parent | ea82134f6199f79cb939781cb38dceaa1534dbc1 (diff) |
MacGui: enable and fix more compiler warnings in the Xcode project.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6772 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBPreviewGenerator.m')
-rw-r--r-- | macosx/HBPreviewGenerator.m | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/macosx/HBPreviewGenerator.m b/macosx/HBPreviewGenerator.m index 754ddaa1d..f58e157cb 100644 --- a/macosx/HBPreviewGenerator.m +++ b/macosx/HBPreviewGenerator.m @@ -7,18 +7,11 @@ #import "HBPreviewGenerator.h" #import "HBUtilities.h" -#import "Controller.h" #import "HBCore.h" #import "HBJob.h" #import "HBJob+HBJobConversion.h" -typedef enum EncodeState : NSUInteger { - EncodeStateIdle, - EncodeStateWorking, - EncodeStateCancelled, -} EncodeState; - @interface HBPreviewGenerator () @property (nonatomic, readonly, retain) NSMutableDictionary *picturePreviews; @@ -271,8 +264,6 @@ typedef enum EncodeState : NSUInteger { } } completationHandler:^(BOOL success) { - self.core = nil; - // Encode done, call the delegate and close libhb handle if (success) { @@ -282,6 +273,7 @@ typedef enum EncodeState : NSUInteger { { [self.delegate didCancelMovieCreation]; } + self.core = nil; }]; return YES; |