mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
system/nxlooper: fix warning
nxlooper.c:615:7: warning: 'playbufs' may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
This commit is contained in:
parent
68fa377c5e
commit
442d52e878
1 changed files with 2 additions and 2 deletions
|
|
@ -326,8 +326,8 @@ static void *nxlooper_loopthread(pthread_addr_t pvarg)
|
|||
struct audio_buf_desc_s buf_desc;
|
||||
struct ap_buffer_info_s recordbuf_info;
|
||||
struct ap_buffer_info_s playbuf_info;
|
||||
FAR struct ap_buffer_s **playbufs;
|
||||
FAR struct ap_buffer_s **recordbufs;
|
||||
FAR struct ap_buffer_s **playbufs = NULL;
|
||||
FAR struct ap_buffer_s **recordbufs = NULL;
|
||||
unsigned int prio;
|
||||
ssize_t size;
|
||||
bool running = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue