osx: Fix a compiler warning

No declaration after statement.
This commit is contained in:
Emmanuele Bassi 2011-07-10 10:12:08 +01:00
parent 73b043630d
commit f6cdeb9858

View File

@ -106,6 +106,8 @@
- (guint)clutterKeyVal - (guint)clutterKeyVal
{ {
unichar c;
/* FIXME: doing this right is a lot of work, see gdkkeys-quartz.c in gtk+ /* 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 * For now handle some common/simple keys only. Might not work with other
* hardware than mine (MacBook Pro, finnish layout). Sorry. * 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 */ /* Latin-1 characters, 1:1 mapping - this ought to be reliable */
if ((c >= 0x0020 && c <= 0x007e) || if ((c >= 0x0020 && c <= 0x007e) ||