forked from AuroraMiddleware/gtk
testsuite/gsk/test-render-nodes.c: Avoid VLA usage
Just #define N as 5, instead of using a const int, which is not enough to justify that as non-VLA usage. https://bugzilla.gnome.org/show_bug.cgi?id=773299
This commit is contained in:
parent
a4c0395343
commit
bca4a78f07
@ -443,10 +443,11 @@ opacity (void)
|
||||
return container;
|
||||
}
|
||||
|
||||
#define N 5
|
||||
|
||||
static GskRenderNode *
|
||||
color_matrix1 (void)
|
||||
{
|
||||
const int N = 5;
|
||||
GskRenderNode *container_node;
|
||||
GskRenderNode *cairo_node = cairo ();
|
||||
GskRenderNode *n;
|
||||
@ -518,6 +519,8 @@ color_matrix1 (void)
|
||||
return container_node;
|
||||
}
|
||||
|
||||
#undef N
|
||||
|
||||
static GskRenderNode *
|
||||
transformed_clip (void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user