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
ac41380b
Commit
ac41380b
authored
Nov 27, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 27, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Fixed some Coverity issues.
parent
df53b501
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
array.c
dlls/jscript/array.c
+1
-1
compile.c
dlls/jscript/compile.c
+2
-0
dispex.c
dlls/jscript/dispex.c
+1
-0
No files found.
dlls/jscript/array.c
View file @
ac41380b
...
...
@@ -325,7 +325,7 @@ static HRESULT array_join(script_ctx_t *ctx, jsdisp_t *array, DWORD length, cons
TRACE
(
"= %s
\n
"
,
debugstr_jsstr
(
ret
));
if
(
r
)
*
r
=
ret
?
jsval_string
(
ret
)
:
jsval_string
(
jsstr_empty
()
);
*
r
=
jsval_string
(
ret
);
else
jsstr_release
(
ret
);
return
S_OK
;
...
...
dlls/jscript/compile.c
View file @
ac41380b
...
...
@@ -1395,6 +1395,8 @@ static HRESULT compile_continue_statement(compiler_ctx_t *ctx, branch_statement_
WARN
(
"Label is not a loop
\n
"
);
return
JS_E_INVALID_CONTINUE
;
}
assert
(
pop_ctx
!=
NULL
);
}
else
{
for
(
pop_ctx
=
ctx
->
stat_ctx
;
pop_ctx
;
pop_ctx
=
pop_ctx
->
next
)
{
if
(
pop_ctx
->
continue_label
)
...
...
dlls/jscript/dispex.c
View file @
ac41380b
...
...
@@ -454,6 +454,7 @@ static HRESULT prop_put(jsdisp_t *This, dispex_prop_t *prop, jsval_t val, IServi
vdisp_release
(
&
vthis
);
return
hres
;
}
/* fall through */
case
PROP_PROTREF
:
prop
->
type
=
PROP_JSVAL
;
prop
->
flags
=
PROPF_ENUM
;
...
...
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