aboutsummaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/google/chromeec/ec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/google/chromeec/ec.c b/src/ec/google/chromeec/ec.c
index efe22e2ab9..fb3ffab181 100644
--- a/src/ec/google/chromeec/ec.c
+++ b/src/ec/google/chromeec/ec.c
@@ -563,7 +563,7 @@ static int cbi_get_uint32(uint32_t *id, uint32_t type)
{
struct chromeec_command cmd;
struct ec_params_get_cbi p;
- uint32_t r;
+ uint32_t r = 0;
int rv;
p.type = type;