From: Rolland Dudemaine Date: Tue, 25 Jan 2011 12:52:49 +0000 (+0200) Subject: Correct the initialization of 'max_vx' X-Git-Tag: pixman-0.21.6~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b61ec0a6862ba101fff0afa082fb7490a0c44785;p=platform%2Fupstream%2Fpixman.git Correct the initialization of 'max_vx' http://lists.freedesktop.org/archives/pixman/2011-January/000937.html --- diff --git a/pixman/pixman-fast-path.h b/pixman/pixman-fast-path.h index b829030..069a282 100644 --- a/pixman/pixman-fast-path.h +++ b/pixman/pixman-fast-path.h @@ -265,7 +265,7 @@ fast_composite_scaled_nearest ## scale_func_name (pixman_implementation_t *imp, dst_type_t *dst_line; \ src_type_t *src_first_line; \ int y; \ - pixman_fixed_t max_vx = max_vx; /* suppress uninitialized variable warning */ \ + pixman_fixed_t max_vx = INT32_MAX; /* suppress uninitialized variable warning */ \ pixman_fixed_t max_vy; \ pixman_vector_t v; \ pixman_fixed_t vx, vy; \