Fix unused variable warning in optimized build (fix proveded by Matthew Riley)
http://breakpad.appspot.com/499002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1084 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
c937b0ee01
commit
f6864d2ead
@ -65,8 +65,9 @@ void MinidumpDescriptor::UpdatePath() {
|
||||
|
||||
GUID guid;
|
||||
char guid_str[kGUIDStringLength + 1];
|
||||
bool r = CreateGUID(&guid) && GUIDToString(&guid, guid_str, sizeof(guid_str));
|
||||
assert(r);
|
||||
if (!CreateGUID(&guid) || !GUIDToString(&guid, guid_str, sizeof(guid_str))) {
|
||||
assert(false);
|
||||
}
|
||||
|
||||
path_.clear();
|
||||
path_ = directory_ + "/" + guid_str + ".dmp";
|
||||
|
Loading…
Reference in New Issue
Block a user