Cosmetics (and help static analyzers)
authorRémi Duraffort <ivoire@videolan.org>
Sun, 20 Oct 2013 07:13:55 +0000 (09:13 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Sun, 20 Oct 2013 07:13:55 +0000 (09:13 +0200)
modules/access/dtv/en50221.c

index 659dd17..715b237 100644 (file)
@@ -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;