[vlc-commits] Cosmetics (and help static analyzers)

Rémi Duraffort git at videolan.org
Sun Oct 20 09:29:50 CEST 2013


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Oct 20 09:13:55 2013 +0200| [4acd8ebbc8279146e77ce12372d796a897842a1f] | committer: Rémi Duraffort

Cosmetics (and help static analyzers)

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

 modules/access/dtv/en50221.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/dtv/en50221.c b/modules/access/dtv/en50221.c
index 659dd17..715b237 100644
--- a/modules/access/dtv/en50221.c
+++ b/modules/access/dtv/en50221.c
@@ -285,9 +285,9 @@ static int TPDUSend( cam_t * p_cam, uint8_t i_slot, uint8_t i_tag,
 
         if ( i_length )
             memcpy( p, p_content, i_length );
-            i_size = i_length + (p - p_data);
-        }
+        i_size = i_length + (p - p_data);
         break;
+    }
 
     default:
         break;



More information about the vlc-commits mailing list