forked from len0rd/rockbox
[coverity] vuprintf.c format_double_radix() initialize data struct
it appears this is false positive but its compliaining about the uninitialized pointer, not a bad idea to initialize pointers to NULL anyway Change-Id: I5832a19ab13971c7d55580694eef70591a3a9acb
This commit is contained in:
parent
e54dedd8df
commit
d68c314cea
1 changed files with 2 additions and 1 deletions
|
@ -730,7 +730,8 @@ static int format_double_radix(double f,
|
|||
vuprintf_push_cb push,
|
||||
void *userp)
|
||||
{
|
||||
struct ap_int ia, fa;
|
||||
struct ap_int ia ={0};
|
||||
struct ap_int fa ={0};
|
||||
long rc = parse_double(f, &ia, &fa, fmt_buf);
|
||||
|
||||
if (UNLIKELY(rc < 0)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue