mirror of
https://code.videolan.org/videolan/vlc
synced 2024-08-31 06:46:39 +02:00
Use %s even if all strings are currently free of percent characters
This commit is contained in:
parent
7c80930728
commit
915ba6e04d
@ -174,7 +174,7 @@ static inline bool demux_IsForced( demux_t *p_demux, const char *psz_name )
|
||||
|
||||
#define STANDARD_DEMUX_INIT_MSG( msg ) do { \
|
||||
DEMUX_INIT_COMMON(); \
|
||||
msg_Dbg( p_demux, msg ); } while(0)
|
||||
msg_Dbg( p_demux, "%s", msg ); } while(0)
|
||||
|
||||
#define DEMUX_BY_EXTENSION( ext ) \
|
||||
demux_t *p_demux = (demux_t *)p_this; \
|
||||
|
@ -132,7 +132,7 @@ VLC_EXPORT( int, __intf_Eject, ( vlc_object_t *, const char * ) );
|
||||
freopen( "CONOUT$", "w", stderr ); \
|
||||
freopen( "CONIN$", "r", stdin ); \
|
||||
} \
|
||||
msg_Info( p_intf, COPYRIGHT_MESSAGE ); \
|
||||
msg_Info( p_intf, "%s", COPYRIGHT_MESSAGE ); \
|
||||
msg_Info( p_intf, _("\nWarning: if you can't access the GUI " \
|
||||
"anymore, open a command-line window, go to the " \
|
||||
"directory where you installed VLC and run " \
|
||||
|
@ -62,12 +62,12 @@ void Logger::destroy( intf_thread_t *pIntf )
|
||||
|
||||
void Logger::error( const string &rMsg )
|
||||
{
|
||||
msg_Err( getIntf(), rMsg.c_str() );
|
||||
msg_Err( getIntf(), "%s", rMsg.c_str() );
|
||||
}
|
||||
|
||||
|
||||
void Logger::warn( const string &rMsg )
|
||||
{
|
||||
msg_Warn( getIntf(), rMsg.c_str() );
|
||||
msg_Warn( getIntf(), "%s", rMsg.c_str() );
|
||||
}
|
||||
|
||||
|
@ -227,7 +227,7 @@ libvlc_int_t * libvlc_InternalCreate( void )
|
||||
#endif
|
||||
|
||||
/* Announce who we are - Do it only for first instance ? */
|
||||
msg_Dbg( p_libvlc, COPYRIGHT_MESSAGE );
|
||||
msg_Dbg( p_libvlc, "%s", COPYRIGHT_MESSAGE );
|
||||
msg_Dbg( p_libvlc, "libvlc was configured with %s", CONFIGURE_LINE );
|
||||
|
||||
/* Initialize mutexes */
|
||||
|
Loading…
Reference in New Issue
Block a user