[vlc-devel] [PATCH 2/7] access/live555: remove unused function strempty

Filip Roséen filip at atch.se
Sat Feb 25 07:38:57 CET 2017


The last usage of this function was removed by d8314d6.

--
 - http://git.videolan.org/?p=vlc.git;a=commit;h=d8314d61119bb9460896b30bb457b6877dae1fa2
---
 modules/access/live555.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp
index 720913bd53..1651ada390 100644
--- a/modules/access/live555.cpp
+++ b/modules/access/live555.cpp
@@ -485,7 +485,6 @@ static void Close( vlc_object_t *p_this )
     free( p_sys );
 }
 
-static inline const char *strempty( const char *s ) { return s?s:""; }
 static inline Boolean toBool( bool b ) { return b?True:False; } // silly, no?
 
 static void default_live555_callback( RTSPClient* client, int result_code, char* result_string )
-- 
2.11.1



More information about the vlc-devel mailing list