vlc | branch: master | Erwan Tulou <[email protected]> | Sun Sep 22 12:21:00 
2019 +0200| [bdefc284c09d651ff3007d10da9f4e6e3a30903f] | committer: Erwan Tulou

skins2: kill compilation warning

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

 modules/gui/skins2/utils/ustring.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/skins2/utils/ustring.cpp 
b/modules/gui/skins2/utils/ustring.cpp
index bffa583ca4..43efe5ce51 100644
--- a/modules/gui/skins2/utils/ustring.cpp
+++ b/modules/gui/skins2/utils/ustring.cpp
@@ -70,7 +70,7 @@ UString::UString( intf_thread_t *pIntf, const char *pString ):
     }
     if( !pCur || *pCur )
     {
-        msg_Err( pIntf, "invalid UTF8 string: %s", pString );
+        msg_Err( pIntf, "invalid UTF8 string: %s", pString ? pString : "nil" );
         m_length = 0;
         m_pString = NULL;
         return;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to