summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewController.m
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 /macosx/HBPreviewController.m
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
Diffstat (limited to 'macosx/HBPreviewController.m')
-rw-r--r--macosx/HBPreviewController.m3
1 files changed, 0 insertions, 3 deletions
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