Fix warning: 'argnumber' may be used uninitialized in this function
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
c1bde1a4d2
commit
8f4421a79e
@ -203,7 +203,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream,
|
||||
int total_len = 0;
|
||||
|
||||
#ifdef CONFIG_LIBC_NUMBERED_ARGS
|
||||
int argnumber;
|
||||
int argnumber = 0;
|
||||
#endif
|
||||
|
||||
for (; ; )
|
||||
|
Loading…
Reference in New Issue
Block a user