From: Sebastian Bauer Date: Tue, 3 Jul 2012 09:55:14 +0000 (-0400) Subject: Qualify the static variables in pixman_f_transform_invert() with the const keyword. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4aa82fb9148862904bb7ca33655ce8d571643b0;p=platform%2Fupstream%2Fpixman.git Qualify the static variables in pixman_f_transform_invert() with the const keyword. Their contents is not overwritten. --- diff --git a/pixman/pixman-matrix.c b/pixman/pixman-matrix.c index 8d0d973..6d215ff 100644 --- a/pixman/pixman-matrix.c +++ b/pixman/pixman-matrix.c @@ -471,8 +471,8 @@ pixman_f_transform_invert (struct pixman_f_transform * dst, { double det; int i, j; - static int a[3] = { 2, 2, 1 }; - static int b[3] = { 1, 0, 0 }; + static const int a[3] = { 2, 2, 1 }; + static const int b[3] = { 1, 0, 0 }; det = 0; for (i = 0; i < 3; i++)