Andrew Talbot : openal32: void functions should not return a value.

Alexandre Julliard julliard at winehq.org
Mon Aug 22 13:29:04 CDT 2011


Module: wine
Branch: master
Commit: e3ff452f394e22c24e29c98f0f476c90d669a2f3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e3ff452f394e22c24e29c98f0f476c90d669a2f3

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat Aug  6 12:51:19 2011 +0100

openal32: void functions should not return a value.

---

 dlls/openal32/openal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/openal32/openal.c b/dlls/openal32/openal.c
index 15206f3..9e0a8f2 100644
--- a/dlls/openal32/openal.c
+++ b/dlls/openal32/openal.c
@@ -269,7 +269,7 @@ const ALCchar* CDECL wine_alcGetString(ALCdevice *device, ALCenum param)
 
 ALvoid CDECL wine_alcGetIntegerv(ALCdevice *device, ALCenum param, ALCsizei size, ALCint *dest)
 {
-    return alcGetIntegerv(device, param, size, dest);
+    alcGetIntegerv(device, param, size, dest);
 }
 
 




More information about the wine-cvs mailing list