Commit 946b3071 authored by michael's avatar michael

Remove unused variables from slice_buffer_load_line() found by CSA.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18561 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0a75822d
...@@ -526,7 +526,6 @@ static void slice_buffer_init(slice_buffer * buf, int line_count, int max_alloca ...@@ -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) static IDWTELEM * slice_buffer_load_line(slice_buffer * buf, int line)
{ {
int offset;
IDWTELEM * buffer; IDWTELEM * buffer;
assert(buf->data_stack_top >= 0); assert(buf->data_stack_top >= 0);
...@@ -534,7 +533,6 @@ static IDWTELEM * slice_buffer_load_line(slice_buffer * buf, int line) ...@@ -534,7 +533,6 @@ static IDWTELEM * slice_buffer_load_line(slice_buffer * buf, int line)
if (buf->line[line]) if (buf->line[line])
return buf->line[line]; return buf->line[line];
offset = buf->line_width * line;
buffer = buf->data_stack[buf->data_stack_top]; buffer = buf->data_stack[buf->data_stack_top];
buf->data_stack_top--; buf->data_stack_top--;
buf->line[line] = buffer; buf->line[line] = buffer;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment