mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 10:22:55 +00:00
initialize variables in QLocalePrivate::doubleToString()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
e4ee53e73d
commit
2e2f28064e
1 changed files with 2 additions and 1 deletions
|
@ -1854,7 +1854,8 @@ QString QLocalePrivate::doubleToString(const QChar _zero, const QChar plus, cons
|
||||||
|
|
||||||
// Handle normal numbers
|
// Handle normal numbers
|
||||||
if (!special_number) {
|
if (!special_number) {
|
||||||
int decpt, sign;
|
int decpt = 0;
|
||||||
|
int sign = 0;
|
||||||
QString digits;
|
QString digits;
|
||||||
|
|
||||||
// NOT thread safe!
|
// NOT thread safe!
|
||||||
|
|
Loading…
Add table
Reference in a new issue