Set initial value to ese_current_state am: 9f2947db3c
Change-Id: I5116a3d437d7600413c4717802d9f40a88237b6b
diff --git a/libese-spi/p73/spm/phNxpEse_Spm.cpp b/libese-spi/p73/spm/phNxpEse_Spm.cpp
index 3d73655..f35a891 100755
--- a/libese-spi/p73/spm/phNxpEse_Spm.cpp
+++ b/libese-spi/p73/spm/phNxpEse_Spm.cpp
@@ -298,7 +298,7 @@
ESESTATUS phNxpEse_SPM_GetState(spm_state_t* current_state) {
int32_t ret = -1;
ESESTATUS status = ESESTATUS_SUCCESS;
- spm_state_t ese_current_state;
+ spm_state_t ese_current_state = SPM_STATE_INVALID;
if (current_state == NULL) {
ALOGE("%s : failed Invalid argument", __FUNCTION__);