Module: wine Branch: master Commit: 3d310f03c306f73b939aa7f15494c8781343d548 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3d310f03c306f73b939aa7f154...
Author: Gerald Pfeifer gerald@pfeifer.com Date: Sat May 1 01:28:58 2010 +0200
jscript: Remove variable length which is not really used from JSGlobal_parseFloat.
---
dlls/jscript/global.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/jscript/global.c b/dlls/jscript/global.c index af142ed..92a0cbe 100644 --- a/dlls/jscript/global.c +++ b/dlls/jscript/global.c @@ -550,7 +550,7 @@ static HRESULT JSGlobal_parseFloat(script_ctx_t *ctx, vdisp_t *jsthis, WORD flag VARIANT *retv, jsexcept_t *ei, IServiceProvider *sp) { LONGLONG d = 0, hlp; - int exp = 0, length; + int exp = 0; VARIANT *arg; WCHAR *str; BSTR val_str = NULL; @@ -569,7 +569,6 @@ static HRESULT JSGlobal_parseFloat(script_ctx_t *ctx, vdisp_t *jsthis, WORD flag return hres;
str = val_str; - length = SysStringLen(val_str);
while(isspaceW(*str)) str++;