mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +02:00
Fix incorrect return values in getProcessorInfo
This commit is contained in:
parent
b5eb943c1d
commit
e213a47814
1 changed files with 2 additions and 2 deletions
|
@ -939,11 +939,11 @@ bool getProcessorInfo(ProcessorInfo& info) {
|
||||||
|
|
||||||
if (NULL == buffer) {
|
if (NULL == buffer) {
|
||||||
qDebug() << "Error: Allocation failure";
|
qDebug() << "Error: Allocation failure";
|
||||||
return (2);
|
return false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
qDebug() << "Error " << GetLastError();
|
qDebug() << "Error " << GetLastError();
|
||||||
return (3);
|
return false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
done = true;
|
done = true;
|
||||||
|
|
Loading…
Reference in a new issue