[dvblast-devel] fix confusing indentation

Christophe Massiot git at videolan.org
Wed Oct 23 22:29:23 CEST 2013


dvblast | branch: master | Christophe Massiot <massiot at via.ecp.fr> | Wed Oct 23 22:25:05 2013 +0200| [1205ca084b33acaaef03b8d44ef4b91620be218d] | committer: Christophe Massiot

fix confusing indentation

(spotted by Coverity: CID 1100854)

> http://git.videolan.org/gitweb.cgi/dvblast.git/?a=commit;h=1205ca084b33acaaef03b8d44ef4b91620be218d
---

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

diff --git a/en50221.c b/en50221.c
index f2f1523..53bf80a 100644
--- a/en50221.c
+++ b/en50221.c
@@ -320,9 +320,9 @@ static int TPDUSend( access_t * p_access, 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 dvblast-devel mailing list