Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9e782982
Commit
9e782982
authored
Sep 17, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Don't assume that undefined variable is zeroed.
parent
c4df88b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dispex.c
dlls/jscript/dispex.c
+2
-1
No files found.
dlls/jscript/dispex.c
View file @
9e782982
...
...
@@ -272,12 +272,13 @@ static HRESULT ensure_prop_name(jsdisp_t *This, const WCHAR *name, BOOL search_p
hres
=
find_prop_name_prot
(
This
,
string_hash
(
name
),
name
,
&
prop
);
else
hres
=
find_prop_name
(
This
,
string_hash
(
name
),
name
,
&
prop
);
if
(
SUCCEEDED
(
hres
)
&&
(
!
prop
||
prop
->
type
==
PROP_DELETED
))
{
if
(
SUCCEEDED
(
hres
)
&&
(
!
prop
||
prop
->
type
==
PROP_DELETED
))
{
TRACE
(
"creating prop %s
\n
"
,
debugstr_w
(
name
));
if
(
prop
)
{
prop
->
type
=
PROP_JSVAL
;
prop
->
flags
=
create_flags
;
prop
->
u
.
val
=
jsval_undefined
();
}
else
{
prop
=
alloc_prop
(
This
,
name
,
PROP_JSVAL
,
create_flags
);
if
(
!
prop
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment