mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Change default-constructor of Value to initialize to 0. This avoids some warnings when using Value in a HashTable and a few other cases and seems to have no measurable effect.
This commit is contained in:
parent
477aedc0ff
commit
d71c690795
@ -384,7 +384,7 @@ class Value
|
||||
/*** Constructors ***/
|
||||
|
||||
/* N.B. Value's default constructor leaves Value uninitialized */
|
||||
Value() {}
|
||||
Value() { data.asBits = 0; }
|
||||
|
||||
Value(NullTag) { setNull(); }
|
||||
Value(UndefinedTag) { setUndefined(); }
|
||||
|
Loading…
Reference in New Issue
Block a user