mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 14:24:45 +00:00
webservices: Avoid uninitialized variable warning in format_double.
GCC 13 was going to diagnose dlls/webservices/writer.c:960:18: warning: 'mag2' may be used uninitialized
This commit is contained in:
parent
038e1dc47b
commit
358ead7ab4
1 changed files with 1 additions and 1 deletions
|
@ -896,7 +896,7 @@ static ULONG format_double( const double *ptr, unsigned char *buf )
|
|||
static const double precision = 0.0000000000000001;
|
||||
unsigned char *p = buf;
|
||||
double val = *ptr;
|
||||
int neg, mag, mag2, use_exp;
|
||||
int neg, mag, mag2 = 0, use_exp;
|
||||
|
||||
if (isnan( val ))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue