From f6cdeb985812e13174c85cf04bc4a782e2d1939d Mon Sep 17 00:00:00 2001
From: Emmanuele Bassi <ebassi@gnome.org>
Date: Sun, 10 Jul 2011 10:12:08 +0100
Subject: [PATCH] osx: Fix a compiler warning

No declaration after statement.
---
 clutter/osx/clutter-event-osx.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/clutter/osx/clutter-event-osx.c b/clutter/osx/clutter-event-osx.c
index d6f3c2f31..9f5c9330d 100644
--- a/clutter/osx/clutter-event-osx.c
+++ b/clutter/osx/clutter-event-osx.c
@@ -106,6 +106,8 @@
 
 - (guint)clutterKeyVal
 {
+  unichar c;
+
   /* FIXME: doing this right is a lot of work, see gdkkeys-quartz.c in gtk+
    * For now handle some common/simple keys only. Might not work with other
    * hardware than mine (MacBook Pro, finnish layout). Sorry.
@@ -147,7 +149,7 @@
         }
     }
 
-  unichar c = [[self charactersIgnoringModifiers] characterAtIndex:0];
+  c = [[self charactersIgnoringModifiers] characterAtIndex:0];
 
   /* Latin-1 characters, 1:1 mapping - this ought to be reliable */
   if ((c >= 0x0020 && c <= 0x007e) ||