Louis Lenders : xinput1_3: Quiet a noisy fixme.
Alexandre Julliard
julliard at winehq.org
Tue Mar 13 17:10:52 CDT 2018
Module: wine
Branch: master
Commit: 2a4fb48583c66197cd3843fdcd7acb82d06afcd5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=2a4fb48583c66197cd3843fdcd7acb82d06afcd5
Author: Louis Lenders <xerox.xerox2000x at gmail.com>
Date: Sat Mar 10 09:09:23 2018 +0100
xinput1_3: Quiet a noisy fixme.
Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
Signed-off-by: Aric Stewart <aric at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/xinput1_3/xinput_main.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dlls/xinput1_3/xinput_main.c b/dlls/xinput1_3/xinput_main.c
index 46d9918..56bb36a 100644
--- a/dlls/xinput1_3/xinput_main.c
+++ b/dlls/xinput1_3/xinput_main.c
@@ -165,7 +165,10 @@ DWORD WINAPI XInputGetDSoundAudioDeviceGuids(DWORD index, GUID* render_guid, GUI
DWORD WINAPI XInputGetBatteryInformation(DWORD index, BYTE type, XINPUT_BATTERY_INFORMATION* battery)
{
- FIXME("(index %u, type %u, battery %p) Stub!\n", index, type, battery);
+ static int once;
+
+ if (!once++)
+ FIXME("(index %u, type %u, battery %p) Stub!\n", index, type, battery);
if (index >= XUSER_MAX_COUNT)
return ERROR_BAD_ARGUMENTS;
More information about the wine-cvs
mailing list