Browse code

nutdec: remove unused variable

Mans Rullgard authored on 2011/06/02 01:29:22
Showing 1 changed files
... ...
@@ -190,7 +190,6 @@ static int decode_main_header(NUTContext *nut){
190 190
     uint64_t tmp, end;
191 191
     unsigned int stream_count;
192 192
     int i, j, tmp_stream, tmp_mul, tmp_pts, tmp_size, count, tmp_res, tmp_head_idx;
193
-    int64_t tmp_match;
194 193
 
195 194
     end= get_packetheader(nut, bc, 1, MAIN_STARTCODE);
196 195
     end += avio_tell(bc);
... ...
@@ -218,7 +217,6 @@ static int decode_main_header(NUTContext *nut){
218 218
     tmp_pts=0;
219 219
     tmp_mul=1;
220 220
     tmp_stream=0;
221
-    tmp_match= 1-(1LL<<62);
222 221
     tmp_head_idx= 0;
223 222
     for(i=0; i<256;){
224 223
         int tmp_flags = ffio_read_varlen(bc);
... ...
@@ -232,7 +230,7 @@ static int decode_main_header(NUTContext *nut){
232 232
         else             tmp_res   = 0;
233 233
         if(tmp_fields>5) count     = ffio_read_varlen(bc);
234 234
         else             count     = tmp_mul - tmp_size;
235
-        if(tmp_fields>6) tmp_match = get_s(bc);
235
+        if(tmp_fields>6) get_s(bc);
236 236
         if(tmp_fields>7) tmp_head_idx= ffio_read_varlen(bc);
237 237
 
238 238
         while(tmp_fields-- > 8)