diff --git a/reactos/lib/kjs/ksrc/ejumps.h b/reactos/lib/kjs/ksrc/ejumps.h index d5c0183790a..4717d66fddc 100644 --- a/reactos/lib/kjs/ksrc/ejumps.h +++ b/reactos/lib/kjs/ksrc/ejumps.h @@ -1175,6 +1175,7 @@ op_div: case JS_NAN: default: nan = 1; + l = 0.0; break; } @@ -1202,6 +1203,7 @@ op_div: case JS_NAN: default: nan = 1; + r = 0.0; break; } diff --git a/reactos/lib/kjs/ksrc/eswitch.h b/reactos/lib/kjs/ksrc/eswitch.h index 2836a8f84d5..41c6634b35b 100644 --- a/reactos/lib/kjs/ksrc/eswitch.h +++ b/reactos/lib/kjs/ksrc/eswitch.h @@ -1135,6 +1135,7 @@ case 41: case JS_NAN: default: nan = 1; + l = 0.0; break; } @@ -1162,6 +1163,7 @@ case 41: case JS_NAN: default: nan = 1; + r = 0.0; break; } diff --git a/reactos/lib/kjs/ksrc/eswt0.h b/reactos/lib/kjs/ksrc/eswt0.h index d0dc1acc68c..60b593ec3ed 100644 --- a/reactos/lib/kjs/ksrc/eswt0.h +++ b/reactos/lib/kjs/ksrc/eswt0.h @@ -1133,6 +1133,7 @@ case 41: case JS_NAN: default: nan = 1; + l = 0.0; break; } @@ -1160,6 +1161,7 @@ case 41: case JS_NAN: default: nan = 1; + r = 0.0; break; }