Avoid initializing a VLA of 0 length
This commit is contained in:
parent
9fb4b56ba9
commit
76113b8a06
1 changed files with 1 additions and 1 deletions
|
@ -444,7 +444,7 @@ static gboolean place_least_overlap(ObClient *c, Rect *head, int *x, int *y,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
if (n_client_rects) {
|
||||||
Rect client_rects[n_client_rects];
|
Rect client_rects[n_client_rects];
|
||||||
GSList* it;
|
GSList* it;
|
||||||
Point result;
|
Point result;
|
||||||
|
|
Loading…
Reference in a new issue