mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-27 01:10:06 +01:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -184,6 +184,7 @@ static Bool g_shutdown = FALSE;
|
|||
* Translate msg id to text, for debug purposes
|
||||
*/
|
||||
|
||||
#if CYGMULTIWINDOW_DEBUG
|
||||
static const char *
|
||||
MessageName(winWMMessagePtr msg)
|
||||
{
|
||||
|
|
@ -233,6 +234,7 @@ MessageName(winWMMessagePtr msg)
|
|||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue