Dmitry Timoshkov : jscript: Fix the uninitialized variable warning.
Alexandre Julliard
julliard at winehq.org
Wed Sep 17 07:15:08 CDT 2008
Module: wine
Branch: master
Commit: e853f1076cd79cde8927b8c9fcd199143faf1bde
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e853f1076cd79cde8927b8c9fcd199143faf1bde
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Wed Sep 17 11:29:50 2008 +0900
jscript: Fix the uninitialized variable warning.
---
dlls/jscript/engine.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/jscript/engine.c b/dlls/jscript/engine.c
index b700d33..2b663d3 100644
--- a/dlls/jscript/engine.c
+++ b/dlls/jscript/engine.c
@@ -533,7 +533,7 @@ HRESULT block_statement_eval(exec_ctx_t *ctx, statement_t *_stat, return_type_t
static HRESULT variable_list_eval(exec_ctx_t *ctx, variable_declaration_t *var_list, jsexcept_t *ei)
{
variable_declaration_t *iter;
- HRESULT hres;
+ HRESULT hres = E_FAIL;
for(iter = var_list; iter; iter = iter->next) {
VARIANT val;
More information about the wine-cvs
mailing list