[vlc-commits] skins: remove dead code

Rémi Denis-Courmont git at videolan.org
Sat Jun 13 17:56:23 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jun 12 23:22:31 2015 +0300| [df2ecdd49c474b91bacc919d911d0a9f540ed61d] | committer: Rémi Denis-Courmont

skins: remove dead code

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

 modules/gui/skins2/src/skin_common.hpp |   10 ----------
 1 file changed, 10 deletions(-)

diff --git a/modules/gui/skins2/src/skin_common.hpp b/modules/gui/skins2/src/skin_common.hpp
index 8b880bb..3388f72 100644
--- a/modules/gui/skins2/src/skin_common.hpp
+++ b/modules/gui/skins2/src/skin_common.hpp
@@ -87,16 +87,6 @@ static inline string sFromWide( const wstring &rWide )
 }
 #endif
 
-/// Wrapper around ToLocale, to avoid the need to call LocaleFree()
-static inline string sToLocale( const string &rUTF8 )
-{
-    const char *s = ToLocale( rUTF8.c_str() );
-    string res = s;
-    LocaleFree( s );
-    return res;
-}
-
-
 //---------------------------------------------------------------------------
 // intf_sys_t: description and status of skin interface
 //---------------------------------------------------------------------------



More information about the vlc-commits mailing list