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
7e7b4488
Commit
7e7b4488
authored
Mar 18, 2011
by
Marcus Meissner
Committed by
Alexandre Julliard
Mar 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Mark up fallthrough switch cases (Coverity).
parent
ded15757
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
jscript.c
dlls/jscript/jscript.c
+3
-3
No files found.
dlls/jscript/jscript.c
View file @
7e7b4488
...
@@ -164,7 +164,7 @@ static void decrease_state(JScript *This, SCRIPTSTATE state)
...
@@ -164,7 +164,7 @@ static void decrease_state(JScript *This, SCRIPTSTATE state)
change_state
(
This
,
SCRIPTSTATE_DISCONNECTED
);
change_state
(
This
,
SCRIPTSTATE_DISCONNECTED
);
if
(
state
==
SCRIPTSTATE_DISCONNECTED
)
if
(
state
==
SCRIPTSTATE_DISCONNECTED
)
return
;
return
;
/* FALLTHROUGH */
case
SCRIPTSTATE_STARTED
:
case
SCRIPTSTATE_STARTED
:
case
SCRIPTSTATE_DISCONNECTED
:
case
SCRIPTSTATE_DISCONNECTED
:
clear_script_queue
(
This
);
clear_script_queue
(
This
);
...
@@ -173,7 +173,7 @@ static void decrease_state(JScript *This, SCRIPTSTATE state)
...
@@ -173,7 +173,7 @@ static void decrease_state(JScript *This, SCRIPTSTATE state)
change_state
(
This
,
SCRIPTSTATE_INITIALIZED
);
change_state
(
This
,
SCRIPTSTATE_INITIALIZED
);
if
(
state
==
SCRIPTSTATE_INITIALIZED
)
if
(
state
==
SCRIPTSTATE_INITIALIZED
)
return
;
return
;
/* FALLTHROUGH */
case
SCRIPTSTATE_INITIALIZED
:
case
SCRIPTSTATE_INITIALIZED
:
if
(
This
->
ctx
->
host_global
)
{
if
(
This
->
ctx
->
host_global
)
{
IDispatch_Release
(
This
->
ctx
->
host_global
);
IDispatch_Release
(
This
->
ctx
->
host_global
);
...
@@ -211,7 +211,7 @@ static void decrease_state(JScript *This, SCRIPTSTATE state)
...
@@ -211,7 +211,7 @@ static void decrease_state(JScript *This, SCRIPTSTATE state)
jsdisp_release
(
This
->
ctx
->
global
);
jsdisp_release
(
This
->
ctx
->
global
);
This
->
ctx
->
global
=
NULL
;
This
->
ctx
->
global
=
NULL
;
}
}
/* FALLTHROUGH */
case
SCRIPTSTATE_UNINITIALIZED
:
case
SCRIPTSTATE_UNINITIALIZED
:
change_state
(
This
,
state
);
change_state
(
This
,
state
);
break
;
break
;
...
...
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