[vlc-devel] [PATCH 02/18] macosx: remove false warning

Victorien Le Couviour--Tuffet victorien.lecouviour.tuffet at gmail.com
Tue Jul 4 10:01:01 CEST 2017


---
 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.13.1



More information about the vlc-devel mailing list