hw/xwin: Fix -Wunused-function warning for MessageName() in non-debug builds
../hw/xwin/winmultiwindowwm.c:188:1: warning: ‘MessageName’ defined but not used [-Wunused-function] Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk> Reviewed-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
This commit is contained in:
parent
e49f5947ed
commit
fd96ff7fb3
|
@ -184,6 +184,7 @@ static Bool g_shutdown = FALSE;
|
||||||
* Translate msg id to text, for debug purposes
|
* Translate msg id to text, for debug purposes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if CYGMULTIWINDOW_DEBUG
|
||||||
static const char *
|
static const char *
|
||||||
MessageName(winWMMessagePtr msg)
|
MessageName(winWMMessagePtr msg)
|
||||||
{
|
{
|
||||||
|
@ -233,6 +234,7 @@ MessageName(winWMMessagePtr msg)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user