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:
parent
aa37399c89
commit
34a300b647
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user