[vlc-commits] macosx: remove false warning

Victorien Le Couviour--Tuffet git at videolan.org
Thu Jul 13 11:25:11 CEST 2017


vlc | branch: master | Victorien Le Couviour--Tuffet <victorien.lecouviour.tuffet at gmail.com> | Sun Jul  2 14:44:55 2017 +0200| [850bd9ec7661c03c77d48adf0cbd47db5eb7035c] | committer: Jean-Baptiste Kempf

macosx: remove false warning

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=850bd9ec7661c03c77d48adf0cbd47db5eb7035c
---

 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);
     }
 



More information about the vlc-commits mailing list