changeset 9524:c8dc8037a18b libavcodec

Remove redundant assignment. err is assigned in every switch case anyway. Issue found by CSA.
author superdump
date Tue, 21 Apr 2009 12:29:36 +0000
parents 3045aef3405c
children ad29ff444476
files aac.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/aac.c	Tue Apr 21 12:00:39 2009 +0000
+++ b/aac.c	Tue Apr 21 12:29:36 2009 +0000
@@ -1629,7 +1629,6 @@
     // parse
     while ((elem_type = get_bits(&gb, 3)) != TYPE_END) {
         elem_id = get_bits(&gb, 4);
-        err = -1;
 
         if(elem_type < TYPE_DSE && !(che=get_che(ac, elem_type, elem_id))) {
             av_log(ac->avccontext, AV_LOG_ERROR, "channel element %d.%d is not allocated\n", elem_type, elem_id);