mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Remove unused variables from slice_buffer_load_line() found by CSA.
Originally committed as revision 18561 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6081c30b81
commit
75eaa91c15
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user