dlls/jscript: throw_{eval,uri}_error() are not used, remove them.
Francois Gouget
fgouget at free.fr
Sun Nov 8 03:56:27 CST 2009
---
dlls/jscript/error.c | 10 ----------
dlls/jscript/jscript.h | 2 --
2 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/dlls/jscript/error.c b/dlls/jscript/error.c
index 6c89d70..c149c27 100644
--- a/dlls/jscript/error.c
+++ b/dlls/jscript/error.c
@@ -489,11 +489,6 @@ static HRESULT throw_error(script_ctx_t *ctx, jsexcept_t *ei, UINT id, const WCH
return id;
}
-HRESULT throw_eval_error(script_ctx_t *ctx, jsexcept_t *ei, UINT id, const WCHAR *str)
-{
- return throw_error(ctx, ei, id, str, ctx->eval_error_constr);
-}
-
HRESULT throw_generic_error(script_ctx_t *ctx, jsexcept_t *ei, UINT id, const WCHAR *str)
{
return throw_error(ctx, ei, id, str, ctx->error_constr);
@@ -523,8 +518,3 @@ HRESULT throw_type_error(script_ctx_t *ctx, jsexcept_t *ei, UINT id, const WCHAR
{
return throw_error(ctx, ei, id, str, ctx->type_error_constr);
}
-
-HRESULT throw_uri_error(script_ctx_t *ctx, jsexcept_t *ei, UINT id, const WCHAR *str)
-{
- return throw_error(ctx, ei, id, str, ctx->uri_error_constr);
-}
diff --git a/dlls/jscript/jscript.h b/dlls/jscript/jscript.h
index 4dd340e..88ff0a9 100644
--- a/dlls/jscript/jscript.h
+++ b/dlls/jscript/jscript.h
@@ -213,14 +213,12 @@ HRESULT create_builtin_function(script_ctx_t*,builtin_invoke_t,const WCHAR*,cons
DispatchEx*,DispatchEx**);
HRESULT Function_value(script_ctx_t*,vdisp_t*,WORD,DISPPARAMS*,VARIANT*,jsexcept_t*,IServiceProvider*);
-HRESULT throw_eval_error(script_ctx_t*,jsexcept_t*,UINT,const WCHAR*);
HRESULT throw_generic_error(script_ctx_t*,jsexcept_t*,UINT,const WCHAR*);
HRESULT throw_range_error(script_ctx_t*,jsexcept_t*,UINT,const WCHAR*);
HRESULT throw_reference_error(script_ctx_t*,jsexcept_t*,UINT,const WCHAR*);
HRESULT throw_regexp_error(script_ctx_t*,jsexcept_t*,UINT,const WCHAR*);
HRESULT throw_syntax_error(script_ctx_t*,jsexcept_t*,UINT,const WCHAR*);
HRESULT throw_type_error(script_ctx_t*,jsexcept_t*,UINT,const WCHAR*);
-HRESULT throw_uri_error(script_ctx_t*,jsexcept_t*,UINT,const WCHAR*);
HRESULT create_object(script_ctx_t*,DispatchEx*,DispatchEx**);
HRESULT create_math(script_ctx_t*,DispatchEx**);
--
1.6.3.3
More information about the wine-patches
mailing list