Re: advapi32: Assign a default value (clang)
9 Mar
2012
9 Mar
'12
9:01 a.m.
On Fri, 2012-03-09 at 19:54 +1100, Alistair Leslie-Hughes wrote:
@@ -755,7 +755,7 @@ SC_HANDLE WINAPI OpenSCManagerA( LPCSTR lpMachineName, LPCSTR lpDatabaseName, SC_HANDLE WINAPI OpenSCManagerW( LPCWSTR lpMachineName, LPCWSTR lpDatabaseName, DWORD dwDesiredAccess ) { - SC_HANDLE handle; + SC_HANDLE handle = INVALID_HANDLE_VALUE;
These functions return NULL on failure.
5029
Age (days ago)
5029
Last active (days ago)
0 comments
1 participants
participants (1)
-
Hans Leidekker