Remove unused variables from slice_buffer_load_line() found by CSA.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2009 15:01:58 +0000 (15:01 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2009 15:01:58 +0000 (15:01 +0000)
Originally committed as revision 18561 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/snow.c

index e4e9f71..b08bd15 100644 (file)
@@ -526,7 +526,6 @@ static void slice_buffer_init(slice_buffer * buf, int line_count, int max_alloca
 
 static IDWTELEM * slice_buffer_load_line(slice_buffer * buf, int line)
 {
-    int offset;
     IDWTELEM * buffer;
 
     assert(buf->data_stack_top >= 0);
@@ -534,7 +533,6 @@ static IDWTELEM * slice_buffer_load_line(slice_buffer * buf, int line)
     if (buf->line[line])
         return buf->line[line];
 
-    offset = buf->line_width * line;
     buffer = buf->data_stack[buf->data_stack_top];
     buf->data_stack_top--;
     buf->line[line] = buffer;