[vlc-commits] skins2: kill compilation warning
Erwan Tulou
git at videolan.org
Sun Sep 22 12:24:34 CEST 2019
vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | 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;
More information about the vlc-commits
mailing list