Commit 3d310f03 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

jscript: Remove variable length which is not really used from JSGlobal_parseFloat.

parent b021128c
...@@ -550,7 +550,7 @@ static HRESULT JSGlobal_parseFloat(script_ctx_t *ctx, vdisp_t *jsthis, WORD flag ...@@ -550,7 +550,7 @@ static HRESULT JSGlobal_parseFloat(script_ctx_t *ctx, vdisp_t *jsthis, WORD flag
VARIANT *retv, jsexcept_t *ei, IServiceProvider *sp) VARIANT *retv, jsexcept_t *ei, IServiceProvider *sp)
{ {
LONGLONG d = 0, hlp; LONGLONG d = 0, hlp;
int exp = 0, length; int exp = 0;
VARIANT *arg; VARIANT *arg;
WCHAR *str; WCHAR *str;
BSTR val_str = NULL; BSTR val_str = NULL;
...@@ -569,7 +569,6 @@ static HRESULT JSGlobal_parseFloat(script_ctx_t *ctx, vdisp_t *jsthis, WORD flag ...@@ -569,7 +569,6 @@ static HRESULT JSGlobal_parseFloat(script_ctx_t *ctx, vdisp_t *jsthis, WORD flag
return hres; return hres;
str = val_str; str = val_str;
length = SysStringLen(val_str);
while(isspaceW(*str)) str++; while(isspaceW(*str)) str++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment