[vlc-commits] macosx: do not warn when trying to translate null strings

David Fuhrmann git at videolan.org
Tue Mar 4 19:19:41 CET 2014


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Tue Mar  4 19:08:23 2014 +0100| [20e06550d5dc498d5b55ea0d06d10ca250e9e33b] | committer: David Fuhrmann

macosx: do not warn when trying to translate null strings

We don't do any actual call to gettext here, so the warning
is not really needed.

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

 modules/gui/macosx/StringUtility.m |    1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/gui/macosx/StringUtility.m b/modules/gui/macosx/StringUtility.m
index dc9f2cd..301b3fa 100644
--- a/modules/gui/macosx/StringUtility.m
+++ b/modules/gui/macosx/StringUtility.m
@@ -65,7 +65,6 @@ static VLCStringUtility *_o_sharedInstance = nil;
             return(@"");
         }
     } else {
-        msg_Warn(VLCIntf, "can't translate empty strings");
         return(@"");
     }
 



More information about the vlc-commits mailing list