Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
77d58529
Commit
77d58529
authored
Dec 01, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 01, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Pass NULL as retv to exec_source in exec_global_code.
parent
8c8b0ebb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
jscript.c
dlls/jscript/jscript.c
+1
-5
No files found.
dlls/jscript/jscript.c
View file @
77d58529
...
...
@@ -94,7 +94,6 @@ static HRESULT exec_global_code(JScript *This, parser_ctx_t *parser_ctx)
{
exec_ctx_t
*
exec_ctx
;
jsexcept_t
jsexcept
;
VARIANT
var
;
HRESULT
hres
;
hres
=
create_exec_ctx
(
This
->
ctx
,
NULL
,
This
->
ctx
->
global
,
NULL
,
&
exec_ctx
);
...
...
@@ -104,14 +103,11 @@ static HRESULT exec_global_code(JScript *This, parser_ctx_t *parser_ctx)
IActiveScriptSite_OnEnterScript
(
This
->
site
);
memset
(
&
jsexcept
,
0
,
sizeof
(
jsexcept
));
hres
=
exec_source
(
exec_ctx
,
parser_ctx
,
parser_ctx
->
source
,
EXECT_PROGRAM
,
&
jsexcept
,
&
var
);
hres
=
exec_source
(
exec_ctx
,
parser_ctx
,
parser_ctx
->
source
,
EXECT_PROGRAM
,
&
jsexcept
,
NULL
);
VariantClear
(
&
jsexcept
.
var
);
exec_release
(
exec_ctx
);
if
(
SUCCEEDED
(
hres
))
VariantClear
(
&
var
);
IActiveScriptSite_OnLeaveScript
(
This
->
site
);
return
hres
;
}
...
...
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