summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordynaflash <[email protected]>2011-05-19 19:27:57 +0000
committerdynaflash <[email protected]>2011-05-19 19:27:57 +0000
commit43e8ef8651cc4d1b9529885dace646c4a9566e14 (patch)
tree8f24b3c70c591aa7d0c2d25ac46a6c919e0ced73
parent203d04750f93eb9d2b08cc5cb5b8ad2d28fad1ba (diff)
MacGui: Remove unused variables to suppress warnings at compile time
- As per https://reviews.handbrake.fr/r/87/ - Patch by blindjimmy ... thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3984 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--macosx/Controller.m3
-rw-r--r--macosx/HBPreviewController.m3
-rw-r--r--macosx/PictureController.m1
3 files changed, 0 insertions, 7 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m
index 0265f06f6..ec5c15470 100644
--- a/macosx/Controller.m
+++ b/macosx/Controller.m
@@ -3013,7 +3013,6 @@ fWorkingCount = 0;
hb_title_t * title = (hb_title_t *) hb_list_item( list,
[fSrcTitlePopUp indexOfSelectedItem] );
hb_job_t * job = title->job;
- hb_audio_config_t * audio;
/* set job->angle for libdvdnav */
job->angle = [fSrcAnglePopUp indexOfSelectedItem] + 1;
/* Chapter selection */
@@ -4588,7 +4587,6 @@ the user is using "Custom" settings by determining the sender*/
- (IBAction) videoEncoderPopUpChanged: (id) sender
{
- hb_job_t * job = fTitle->job;
int videoEncoder = [[fVidEncoderPopUp selectedItem] tag];
[fAdvancedOptions setHidden:YES];
@@ -4807,7 +4805,6 @@ the user is using "Custom" settings by determining the sender*/
hb_title_t * title = (hb_title_t *) hb_list_item( list,
[fSrcTitlePopUp indexOfSelectedItem] );
hb_job_t * job = title->job;
- hb_audio_config_t * audio;
/* For hb_calc_bitrate in addition to the Target Size in MB out of the
* Target Size Field, we also need the job info for the Muxer, the Chapters
* as well as all of the audio track info.
diff --git a/macosx/HBPreviewController.m b/macosx/HBPreviewController.m
index a674c58b5..35a4dd0a3 100644
--- a/macosx/HBPreviewController.m
+++ b/macosx/HBPreviewController.m
@@ -1591,9 +1591,7 @@
{
/* special case for scaleToScreen */
- NSSize screenSize = [[[self window] screen] visibleFrame].size;
NSSize areaSize = [fPictureViewArea frame].size;
- NSSize pictureSize = [fPictureView frame].size;
CGFloat viewSizeAspect = viewSize.width / viewSize.height;
if (viewSize.width > areaSize.width || viewSize.height > areaSize.height)
@@ -1613,7 +1611,6 @@
}
[fPictureView setFrameSize:viewSize];
- NSSize newAreaSize = [fPictureViewArea frame].size;
// center it vertically and horizontally
diff --git a/macosx/PictureController.m b/macosx/PictureController.m
index 78174102e..d85113123 100644
--- a/macosx/PictureController.m
+++ b/macosx/PictureController.m
@@ -72,7 +72,6 @@
- (IBAction) resizeInspectorForTab: (id)sender
{
NSRect frame = [[self window] frame];
- NSPoint windowOrigin = [[self window] frame].origin;
NSSize screenSize = [[[self window] screen] frame].size;
NSPoint screenOrigin = [[[self window] screen] frame].origin;