--- apple_remote/RemoteMainController.m 2008-12-07 18:05:31.000000000 +0100 +++ apple_remote/RemoteMainController.m 2008-12-07 18:04:48.000000000 +0100 @@ -110,13 +110,14 @@ - (void) remoteButton: (RemoteControlEventIdentifier)buttonIdentifier pressedDown: (BOOL) pressedDown clickCount: (unsigned int)clickCount { NSString* pressed = @""; - +#ifdef DEBUG + NSString* buttonName = nil; +#endif if (pressedDown) { pressed = @"(pressed)"; #ifdef DEBUG - NSString* buttonName = nil; switch(buttonIdentifier) { case kRemoteButtonPlus: buttonName = @"Volume up"; break; // MEDIA_COMMAND_VOLUME_UP ( see vcl/inc/vcl/cmdevt.hxx )