changeset 9456:9e02b59f53ed libavcodec

Useless assignment found by the clang static analyzer.
author michael
date Fri, 17 Apr 2009 12:44:48 +0000
parents 6cb61c6220c3
children 6fe0b0ff991a
files mpeg12enc.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpeg12enc.c	Fri Apr 17 12:41:37 2009 +0000
+++ b/mpeg12enc.c	Fri Apr 17 12:44:48 2009 +0000
@@ -670,7 +670,6 @@
 
     if (val == 0) {
         /* zero vector */
-        code = 0;
         put_bits(&s->pb,
                  ff_mpeg12_mbMotionVectorTable[0][1],
                  ff_mpeg12_mbMotionVectorTable[0][0]);