arch/sim: Fix up_hcitty.c:366:20: warning: ‘eventset’ may be used uninitialized

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-01-18 03:20:26 +08:00 committed by Alan Carvalho de Assis
parent aa37399c89
commit 34a300b647
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ static int bthcitty_poll(FAR struct file *filep,
{ {
FAR struct inode *inode = filep->f_inode; FAR struct inode *inode = filep->f_inode;
FAR struct bthcitty_s *dev = inode->i_private; FAR struct bthcitty_s *dev = inode->i_private;
pollevent_t eventset; pollevent_t eventset = 0;
int ret; int ret;
int i; int i;