Andrew Talbot : rpcrt4: Void functions should not return a value.

Alexandre Julliard julliard at winehq.org
Mon Mar 31 09:15:17 CDT 2008


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat Mar 29 19:10:17 2008 +0000

rpcrt4: Void functions should not return a value.

---

 dlls/rpcrt4/ndr_marshall.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c
index 42aebf0..c496581 100644
--- a/dlls/rpcrt4/ndr_marshall.c
+++ b/dlls/rpcrt4/ndr_marshall.c
@@ -5469,7 +5469,7 @@ void WINAPI NdrEncapsulatedUnionFree(PMIDL_STUB_MESSAGE pStubMsg,
 
     pMemory += increment;
 
-    return union_arm_free(pStubMsg, pMemory, switch_value, pFormat);
+    union_arm_free(pStubMsg, pMemory, switch_value, pFormat);
 }
 
 /***********************************************************************
@@ -5624,7 +5624,7 @@ void WINAPI NdrNonEncapsulatedUnionFree(PMIDL_STUB_MESSAGE pStubMsg,
     pFormat = ComputeConformance(pStubMsg, pMemory, pFormat, 0);
     TRACE("got switch value 0x%lx\n", pStubMsg->MaxCount);
 
-    return union_arm_free(pStubMsg, pMemory, pStubMsg->MaxCount, pFormat + *(const SHORT*)pFormat);
+    union_arm_free(pStubMsg, pMemory, pStubMsg->MaxCount, pFormat + *(const SHORT*)pFormat);
 }
 
 /***********************************************************************




More information about the wine-cvs mailing list