[vlc-commits] omxil: Remove an unused local variable

Martin Storsjö git at videolan.org
Mon Mar 11 15:48:20 CET 2013


vlc | branch: master | Martin Storsjö <martin at martin.st> | Mon Mar 11 16:46:39 2013 +0200| [dee9d80dd62a1687761589fb8f9275038b6adf45] | committer: Martin Storsjö

omxil: Remove an unused local variable

Signed-off-by: Martin Storsjö <martin at martin.st>

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

 modules/codec/omxil/omxil.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/codec/omxil/omxil.c b/modules/codec/omxil/omxil.c
index da7f7d7..05019fa 100644
--- a/modules/codec/omxil/omxil.c
+++ b/modules/codec/omxil/omxil.c
@@ -139,10 +139,9 @@ static int CreateComponentsList(decoder_t *p_dec, const char *psz_role)
     OMX_ERRORTYPE omx_error;
     OMX_U32 roles = 0;
     OMX_U8 **ppsz_roles = 0;
-    unsigned int i, j, len;
+    unsigned int i, j;
 
     if(!psz_role) goto end;
-    len = strlen(psz_role);
 
     for( i = 0; ; i++ )
     {



More information about the vlc-commits mailing list