From 34a300b647661a7033db0e3f8fc523a17fa96660 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 18 Jan 2021 03:20:26 +0800 Subject: [PATCH] =?UTF-8?q?arch/sim:=20Fix=20up=5Fhcitty.c:366:20:=20warni?= =?UTF-8?q?ng:=20=E2=80=98eventset=E2=80=99=20may=20be=20used=20uninitiali?= =?UTF-8?q?zed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Xiang Xiao --- arch/sim/src/sim/up_hcitty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sim/src/sim/up_hcitty.c b/arch/sim/src/sim/up_hcitty.c index 6bf99ab197..b592ace484 100644 --- a/arch/sim/src/sim/up_hcitty.c +++ b/arch/sim/src/sim/up_hcitty.c @@ -330,7 +330,7 @@ static int bthcitty_poll(FAR struct file *filep, { FAR struct inode *inode = filep->f_inode; FAR struct bthcitty_s *dev = inode->i_private; - pollevent_t eventset; + pollevent_t eventset = 0; int ret; int i;