# HG changeset patch # User superdump # Date 1240316976 0 # Node ID c8dc8037a18b6f6e2de6f2438310131bb2aad826 # Parent 3045aef3405cdf638834e110628a2da0903ffceb Remove redundant assignment. err is assigned in every switch case anyway. Issue found by CSA. diff -r 3045aef3405c -r c8dc8037a18b aac.c --- 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);