[PATCH 1/2] Remove static qualifier on mieqProcessInputEvents()'s 'event' local variable.

Keith Packard keithp at keithp.com
Wed Jun 20 11:52:33 PDT 2012


From: Andy Ritger <aritger at nvidia.com>

This isn't necessary

Signed-off-by: Andy Ritger <aritger at nvidia.com>
Signed-off-by: Keith Packard <keithp at keithp.com>
---
 mi/mieq.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mi/mieq.c b/mi/mieq.c
index e117a8d..c7dd0ad 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -569,7 +569,7 @@ mieqProcessInputEvents(void)
 {
     EventRec *e = NULL;
     ScreenPtr screen;
-    static InternalEvent event;
+    InternalEvent event;
     DeviceIntPtr dev = NULL, master = NULL;
     size_t n_enqueued;
 
-- 
1.7.10



More information about the xorg-devel mailing list