Fixed uninitialized variable warnings

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401813
This commit is contained in:
Sam Lantinga 2006-05-17 15:08:46 +00:00
parent 851c3b8fbb
commit dc00237efc
3 changed files with 4 additions and 4 deletions

View file

@ -149,7 +149,7 @@ void copy_row3(Uint8 *src, int src_w, Uint8 *dst, int dst_w)
{
int i;
int pos, inc;
Uint8 pixel[3];
Uint8 pixel[3] = { 0, 0, 0 };
pos = 0x10000;
inc = (src_w << 16) / dst_w;