mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-02-22 10:20:54 +00:00
A compiler error was happening with an uninitialized float variable.
This commit is contained in:
parent
e8b320e203
commit
ff56d83443
@ -158,7 +158,7 @@ int main(void) {
|
|||||||
// We only need to collect the following data from the TPM.
|
// We only need to collect the following data from the TPM.
|
||||||
string manufacturer;
|
string manufacturer;
|
||||||
string majorVersion;
|
string majorVersion;
|
||||||
float minorVersion;
|
float minorVersion = 0.0f;
|
||||||
|
|
||||||
for (size_t i = 0; i < capability_data.data.tpmProperties.count; ++i) {
|
for (size_t i = 0; i < capability_data.data.tpmProperties.count; ++i) {
|
||||||
TPMS_TAGGED_PROPERTY & p
|
TPMS_TAGGED_PROPERTY & p
|
||||||
|
Loading…
x
Reference in New Issue
Block a user