From 850bd9ec7661c03c77d48adf0cbd47db5eb7035c Mon Sep 17 00:00:00 2001 From: Victorien Le Couviour--Tuffet Date: Sun, 2 Jul 2017 14:44:55 +0200 Subject: [PATCH] macosx: remove false warning Signed-off-by: Jean-Baptiste Kempf --- modules/gui/macosx/VLCVideoEffectsWindowController.m | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/gui/macosx/VLCVideoEffectsWindowController.m b/modules/gui/macosx/VLCVideoEffectsWindowController.m index 1fa610283f..b2a274c722 100644 --- a/modules/gui/macosx/VLCVideoEffectsWindowController.m +++ b/modules/gui/macosx/VLCVideoEffectsWindowController.m @@ -301,8 +301,6 @@ [widget setIntValue: val.i_int]; else if ([widget isKindOfClass: [NSPopUpButton class]]) [widget selectItemWithTag: val.i_int]; - else - msg_Warn(p_intf, "Could not find the correct Integer widget"); } else if (i_type == VLC_VAR_FLOAT) { @@ -311,8 +309,6 @@ [widget setFloatValue: val.f_float]; [widget setToolTip: [NSString stringWithFormat:@"%0.3f", val.f_float]]; } - else - msg_Warn(p_intf, "Could not find the correct Float widget"); } else if (i_type == VLC_VAR_STRING) { @@ -328,8 +324,6 @@ } else if ([widget isKindOfClass: [NSTextField class]]) [widget setStringValue: toNSStr(val.psz_string)]; - else - msg_Warn(p_intf, "Could not find the correct String widget"); free(val.psz_string); } -- 2.11.4.GIT