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

This commit is contained in:
Francois Gouget 2006-09-29 13:05:24 +02:00 committed by Alexandre Julliard
parent 66300403c4
commit 1011bc47bf
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 =