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
9eed654e
Commit
9eed654e
authored
Mar 13, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Use DEFAULT_UNREACHABLE macro where appropriate.
parent
15448724
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
12 deletions
+5
-12
compile.c
dlls/vbscript/compile.c
+2
-5
global.c
dlls/vbscript/global.c
+1
-3
vbdisp.c
dlls/vbscript/vbdisp.c
+1
-2
vbscript.c
dlls/vbscript/vbscript.c
+1
-2
No files found.
dlls/vbscript/compile.c
View file @
9eed654e
...
...
@@ -98,8 +98,7 @@ static void dump_instr_arg(instr_arg_type_t type, instr_arg_t *arg)
break
;
case
ARG_NONE
:
break
;
default:
assert
(
0
);
DEFAULT_UNREACHABLE
;
}
}
...
...
@@ -1398,9 +1397,7 @@ static HRESULT create_class_funcprop(compile_ctx_t *ctx, function_decl_t *func_d
case
FUNC_PROPSET
:
invoke_type
=
VBDISP_SET
;
break
;
default:
assert
(
0
);
return
E_FAIL
;
DEFAULT_UNREACHABLE
;
}
assert
(
!
desc
->
entries
[
invoke_type
]);
...
...
dlls/vbscript/global.c
View file @
9eed654e
...
...
@@ -1010,9 +1010,7 @@ static HRESULT Global_InStr(vbdisp_t *This, VARIANT *args, unsigned args_cnt, VA
case
4
:
FIXME
(
"unsupported compare argument %s
\n
"
,
debugstr_variant
(
args
));
return
E_NOTIMPL
;
default:
assert
(
0
);
return
E_FAIL
;
DEFAULT_UNREACHABLE
;
}
if
(
startv
)
{
...
...
dlls/vbscript/vbdisp.c
View file @
9eed654e
...
...
@@ -172,8 +172,7 @@ static HRESULT invoke_builtin(vbdisp_t *This, const builtin_prop_t *prop, WORD f
V_BSTR
(
res
)
=
ret
;
break
;
}
default:
assert
(
0
);
DEFAULT_UNREACHABLE
;
}
return
S_OK
;
}
...
...
dlls/vbscript/vbscript.c
View file @
9eed654e
...
...
@@ -216,8 +216,7 @@ static void decrease_state(VBScript *This, SCRIPTSTATE state)
break
;
case
SCRIPTSTATE_CLOSED
:
break
;
default:
assert
(
0
);
DEFAULT_UNREACHABLE
;
}
}
...
...
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