Make 'fast_composite_scaled_nearest_*' less suspicious
authorSiarhei Siamashka <siarhei.siamashka@nokia.com>
Mon, 10 Jan 2011 16:29:33 +0000 (18:29 +0200)
committerSiarhei Siamashka <siarhei.siamashka@nokia.com>
Sun, 16 Jan 2011 20:32:33 +0000 (22:32 +0200)
commit55bbccf84e475b2e3c4536606cd08c946c041fd0
tree915a80aee1d4db358fa402e61555b396bc1c2584
parentae70b38d40a587e29dc5e0dfe6250693598beca7
Make 'fast_composite_scaled_nearest_*' less suspicious

Taking address of a variable and then using it as an array looks suspicious
to static code analyzers. So change it into an array with 1 element to make
them happy. Both old and new variants of this code are correct because 'vx'
and 'unit_x' arguments are set to 0 and it means that the called scanline
function can only access a single element of 'zero' buffer.
pixman/pixman-fast-path.h