mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 247445 Useless/unreachable stale code from 1999 in GlobalWindowImpl::SetTimeoutOrInterval
r=brendan sr=brendan
This commit is contained in:
parent
f641551bbe
commit
e3557506eb
@ -4769,8 +4769,7 @@ GlobalWindowImpl::SetTimeoutOrInterval(PRBool aIsInterval, PRInt32 *aReturn)
|
||||
|
||||
case JSTYPE_STRING:
|
||||
case JSTYPE_OBJECT:
|
||||
if (!(expr = ::JS_ValueToString(cx, argv[0])))
|
||||
return NS_ERROR_FAILURE;
|
||||
expr = ::JS_ValueToString(cx, argv[0]);
|
||||
if (!expr)
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
argv[0] = STRING_TO_JSVAL(expr);
|
||||
|
Loading…
Reference in New Issue
Block a user