summaryrefslogtreecommitdiffstats
path: root/macosx/PictureController.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2013-10-15 11:36:51 +0000
committerritsuka <[email protected]>2013-10-15 11:36:51 +0000
commitedc929027efbdade94a7e1c895308df8d058086b (patch)
tree6a1dd18b796c22d827e525457095ab26d2b09269 /macosx/PictureController.m
parent186685f0ab2f2db4e37d50e8291ef8997153d831 (diff)
MacGUI: fixed a number of leaks/null-deferences/dead-code found by clang static analyzer.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5838 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/PictureController.m')
-rw-r--r--macosx/PictureController.m7
1 files changed, 0 insertions, 7 deletions
diff --git a/macosx/PictureController.m b/macosx/PictureController.m
index 0ad7e6e82..95d21afd8 100644
--- a/macosx/PictureController.m
+++ b/macosx/PictureController.m
@@ -243,11 +243,9 @@
{
NSBox * filterBox = nil;
- NSTextField * filterField;
if (sender == fDetelecinePopUp)
{
filterBox = fDetelecineBox;
- filterField = fDetelecineField;
}
if (sender == fDecombDeinterlaceSlider)
@@ -255,30 +253,25 @@
if ([fDecombDeinterlaceSlider floatValue] == 0.0)
{
filterBox = fDecombBox;
- filterField = fDecombField;
}
else
{
filterBox = fDeinterlaceBox;
- filterField = fDeinterlaceField;
}
}
if (sender == fDecombPopUp)
{
filterBox = fDecombBox;
- filterField = fDecombField;
}
if (sender == fDeinterlacePopUp)
{
filterBox = fDeinterlaceBox;
- filterField = fDeinterlaceField;
}
if (sender == fDenoisePopUp)
{
filterBox = fDenoiseBox;
- filterField = fDenoiseField;
}
NSSize currentSize = [filterBox frame].size;