From 1aa4c4a895baf5bac48b68dff6918794d922aa7f Mon Sep 17 00:00:00 2001 From: Louis Lenders Date: Mon, 5 Jul 2010 07:30:47 +0200 Subject: [PATCH] xinput1_3: Quiet a noisy fixme. --- dlls/xinput1_3/xinput1_3_main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dlls/xinput1_3/xinput1_3_main.c b/dlls/xinput1_3/xinput1_3_main.c index 6d6399f9ebb..2b3a5f737d6 100644 --- a/dlls/xinput1_3/xinput1_3_main.c +++ b/dlls/xinput1_3/xinput1_3_main.c @@ -69,7 +69,10 @@ DWORD WINAPI XInputSetState(DWORD dwUserIndex, XINPUT_VIBRATION* pVibration) DWORD WINAPI XInputGetState(DWORD dwUserIndex, XINPUT_STATE* pState) { - FIXME("(%u %p)\n", dwUserIndex, pState); + static int warn_once; + + if (!warn_once++) + FIXME("(%u %p)\n", dwUserIndex, pState); if (dwUserIndex < XUSER_MAX_COUNT) {