Re: [PATCH] compositor: Silence compiler warning by declaring resource inside loop

2012-05-18 Thread Kristian Høgsberg
On Fri, May 18, 2012 at 02:13:03PM +0100, Rob Bradford wrote: > From: Rob Bradford > > Although resource will be valid when it is used since the entered and left > masks are subsets of the different mask it would be nice not to have a > spurious compiler warning. That's odd, I stopped getting th

[PATCH] compositor: Silence compiler warning by declaring resource inside loop

2012-05-18 Thread Rob Bradford
From: Rob Bradford Although resource will be valid when it is used since the entered and left masks are subsets of the different mask it would be nice not to have a spurious compiler warning. --- src/compositor.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/compo