comparison snow.c @ 4409:1907b07173cf libavcodec

Silence GCC when incorrectly complaining that the "line" variable could be used without having been initialized.
author takis
date Thu, 25 Jan 2007 15:23:22 +0000
parents c3be13eac2d6
children d3e389536b0a
comparison
equal deleted inserted replaced
4408:c3be13eac2d6 4409:1907b07173cf
3545 const int w= b->width; 3545 const int w= b->width;
3546 int x,y; 3546 int x,y;
3547 3547
3548 // START_TIMER 3548 // START_TIMER
3549 3549
3550 DWTELEM * line; 3550 DWTELEM * line=0; // silence silly "could be used without having been initialized" warning
3551 DWTELEM * prev; 3551 DWTELEM * prev;
3552 3552
3553 if (start_y != 0) 3553 if (start_y != 0)
3554 line = slice_buffer_get_line(sb, ((start_y - 1) * b->stride_line) + b->buf_y_offset) + b->buf_x_offset; 3554 line = slice_buffer_get_line(sb, ((start_y - 1) * b->stride_line) + b->buf_y_offset) + b->buf_x_offset;
3555 3555