changeset 9469:5c58923d47d2 libavcodec

Remove unused variables from slice_buffer_load_line() found by CSA.
author michael
date Fri, 17 Apr 2009 15:01:58 +0000
parents 71608a4f9eb7
children 677b6a886768
files snow.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/snow.c	Fri Apr 17 14:59:04 2009 +0000
+++ b/snow.c	Fri Apr 17 15:01:58 2009 +0000
@@ -526,7 +526,6 @@
 
 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 @@
     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;