Commit 1011bc47 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

rpcrt4: Don't return void values. This fixes Visual C++ warnings.

parent 66300403
...@@ -56,7 +56,7 @@ static void * CALLBACK my_alloc(size_t size) ...@@ -56,7 +56,7 @@ static void * CALLBACK my_alloc(size_t size)
static void CALLBACK my_free(void *ptr) static void CALLBACK my_free(void *ptr)
{ {
my_free_called++; my_free_called++;
return NdrOleFree(ptr); NdrOleFree(ptr);
} }
typedef struct _MIDL_PROC_FORMAT_STRING typedef struct _MIDL_PROC_FORMAT_STRING
......
...@@ -42,7 +42,7 @@ void * CALLBACK my_alloc(size_t size) ...@@ -42,7 +42,7 @@ void * CALLBACK my_alloc(size_t size)
void CALLBACK my_free(void *ptr) void CALLBACK my_free(void *ptr)
{ {
my_free_called++; my_free_called++;
return NdrOleFree(ptr); NdrOleFree(ptr);
} }
static const MIDL_STUB_DESC Object_StubDesc = static const MIDL_STUB_DESC Object_StubDesc =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment