[vlc-commits] access/live555: remove unused function strempty

Filip Roséen git at videolan.org
Sat Feb 25 15:22:15 CET 2017


vlc | branch: master | Filip Roséen <filip at atch.se> | Sat Feb 25 07:38:57 2017 +0100| [d96a974bce5776239c436e370874428352d46f68] | committer: Jean-Baptiste Kempf

access/live555: remove unused function strempty

The last usage of this function was removed by d8314d6.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/access/live555.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp
index 720913b..1651ada 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 )



More information about the vlc-commits mailing list