mirror of
https://github.com/stefanberger/libtpms
synced 2026-01-11 16:51:29 +00:00
tpm12: Initialize variables due to gcc complaint (s390x, false positive)
Detected by gcc on Ubuntu/s390x Origin: https://git.launchpad.net/ubuntu/+source/libtpms/tree/debian/patches/uninitialized-variable.patch Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
This commit is contained in:
parent
bd42b67edb
commit
c2f2bc8eaf
@ -1290,7 +1290,7 @@ TPM_RESULT TPM_Process_NVReadValue(tpm_state_t *tpm_state,
|
||||
TPM_BOOL physicalPresence;
|
||||
TPM_BOOL isGPIO = FALSE;
|
||||
BYTE *gpioData = NULL;
|
||||
TPM_NV_DATA_SENSITIVE *d1NvdataSensitive;
|
||||
TPM_NV_DATA_SENSITIVE *d1NvdataSensitive = NULL;
|
||||
uint32_t s1Last;
|
||||
|
||||
/* output parameters */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user