WaE: case value not in enumerated type 'NSEventSubtype'

Change-Id: Iaf5de07b7f0da7294681b9cdc152575a756a73c7
This commit is contained in:
Tor Lillqvist
2014-06-03 09:09:20 +03:00
parent e4dc93f5d8
commit 39ffccd261

View File

@@ -445,7 +445,8 @@ bool AquaSalInstance::isNSAppThread() const
void AquaSalInstance::handleAppDefinedEvent( NSEvent* pEvent ) void AquaSalInstance::handleAppDefinedEvent( NSEvent* pEvent )
{ {
switch( [pEvent subtype] ) int nSubtype = [pEvent subtype];
switch( nSubtype )
{ {
case AppStartTimerEvent: case AppStartTimerEvent:
AquaSalTimer::handleStartTimerEvent( pEvent ); AquaSalTimer::handleStartTimerEvent( pEvent );