diff src/video/SDL_stretch.c @ 1849:b5a4ac87b98c

Fixed uninitialized variable warnings
author Sam Lantinga <slouken@libsdl.org>
date Wed, 17 May 2006 15:08:46 +0000
parents e3242177fe4a
children c121d94672cb 3feb94233f90
line wrap: on
line diff
--- a/src/video/SDL_stretch.c	Wed May 17 07:38:34 2006 +0000
+++ b/src/video/SDL_stretch.c	Wed May 17 15:08:46 2006 +0000
@@ -149,7 +149,7 @@
 {
 	int i;
 	int pos, inc;
-	Uint8 pixel[3];
+	Uint8 pixel[3] = { 0, 0, 0 };
 
 	pos = 0x10000;
 	inc = (src_w << 16) / dst_w;