Add omitted variable declaration

This commit is contained in:
John Vogel 2014-05-31 22:01:14 -04:00
parent e81c1ff8cb
commit 8a7015fce2

2
bar.c
View File

@ -704,6 +704,8 @@ get_randr_monitors (void)
return;
}
xcb_rectangle_t r[valid];
for (i = j = 0; i < num && j < valid; i++)
if (rects[i].width != 0)
r[j++] = rects[i];