Avoid initializing a VLA of 0 length

This commit is contained in:
Mikael Magnusson 2014-02-17 17:55:16 +01:00
parent 9fb4b56ba9
commit 76113b8a06

View file

@ -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];
GSList* it;
Point result;