Fix incorrect return values in getProcessorInfo

This commit is contained in:
Ryan Huffman 2016-10-03 15:19:03 -07:00
parent b5eb943c1d
commit e213a47814

View file

@ -939,11 +939,11 @@ bool getProcessorInfo(ProcessorInfo& info) {
if (NULL == buffer) {
qDebug() << "Error: Allocation failure";
return (2);
return false;
}
} else {
qDebug() << "Error " << GetLastError();
return (3);
return false;
}
} else {
done = true;