Fix warning in r961 - C4800
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@962 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
fa31053b42
commit
daf16276b4
@ -178,7 +178,7 @@ bool CrashGenerationClient::RequestUpload(DWORD crash_id) {
|
|||||||
static_cast<MINIDUMP_TYPE>(NULL), NULL, NULL, NULL,
|
static_cast<MINIDUMP_TYPE>(NULL), NULL, NULL, NULL,
|
||||||
custom_info, NULL, NULL, NULL);
|
custom_info, NULL, NULL, NULL);
|
||||||
DWORD bytes_count = 0;
|
DWORD bytes_count = 0;
|
||||||
bool success = WriteFile(pipe, &msg, sizeof(msg), &bytes_count, NULL);
|
bool success = WriteFile(pipe, &msg, sizeof(msg), &bytes_count, NULL) != 0;
|
||||||
|
|
||||||
CloseHandle(pipe);
|
CloseHandle(pipe);
|
||||||
return success;
|
return success;
|
||||||
|
Loading…
Reference in New Issue
Block a user