From 36cdd4e24b99634ff2d65af0630c5ecaf55e62ba Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Sun, 30 Jan 2005 15:27:13 +0000 Subject: [PATCH] fixed warnings when compiling with DBG:=1 and OPTIMIZE:=1 svn path=/trunk/; revision=13368 --- reactos/lib/kjs/ksrc/ejumps.h | 2 ++ reactos/lib/kjs/ksrc/eswitch.h | 2 ++ reactos/lib/kjs/ksrc/eswt0.h | 2 ++ 3 files changed, 6 insertions(+) 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; }