forked from qt-creator/qt-creator
CDB: Use false instead of zero when a boolean is returned
Change-Id: I52e95cd046c49cc1b3e2e433e80a6825042372f3 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -448,14 +448,14 @@ bool ExtensionContext::call(const std::string &functionCall,
|
||||
HRESULT hr = m_control->Execute(DEBUG_OUTCTL_ALL_CLIENTS, call.c_str(), DEBUG_EXECUTE_ECHO);
|
||||
if (FAILED(hr)) {
|
||||
*errorMessage = msgDebugEngineComFailed("Execute", hr);
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
// Execute in current thread. TODO: This must not crash, else we are in an inconsistent state
|
||||
// (need to call 'gh', etc.)
|
||||
hr = m_control->Execute(DEBUG_OUTCTL_ALL_CLIENTS, goCommandForCall(callFlags), DEBUG_EXECUTE_ECHO);
|
||||
if (FAILED(hr)) {
|
||||
*errorMessage = msgDebugEngineComFailed("Execute", hr);
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
// Wait until finished
|
||||
startRecordingOutput();
|
||||
|
||||
Reference in New Issue
Block a user