Fixing most remaining C++ warnings in clang.
This commit is contained in:
@@ -1145,12 +1145,12 @@ object_ref<XThread> XThread::Restore(KernelState* kernel_state,
|
||||
thread->kernel_state_ = kernel_state;
|
||||
|
||||
if (!thread->RestoreObject(stream)) {
|
||||
return false;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (stream->Read<uint32_t>() != 'THRD') {
|
||||
XELOGE("Could not restore XThread - invalid magic!");
|
||||
return false;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
XELOGD("XThread %.8X", thread->handle());
|
||||
|
||||
Reference in New Issue
Block a user