summaryrefslogtreecommitdiff
path: root/host/lib21/host_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib21/host_misc.c')
-rw-r--r--host/lib21/host_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib21/host_misc.c b/host/lib21/host_misc.c
index db5e8243..ee9426a6 100644
--- a/host/lib21/host_misc.c
+++ b/host/lib21/host_misc.c
@@ -138,7 +138,7 @@ static const char *onebyte(const char *str, uint8_t *vptr)
int vb2_str_to_id(const char *str, struct vb2_id *id)
{
- uint8_t val;
+ uint8_t val = 0;
int i;
if (!str)