From 233513ce3c5718e86e853ea3a6a0907b9bacf5fc Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Sat, 24 Jul 2004 14:11:12 +0000 Subject: [PATCH] Fixed loads of /W4 warnings, because it's easier than doing anything useful. Added some asserts to check potentially dangerous assumptions, implemented a few missing bits of code, adjusted some comments, etc. This was SVN commit r815. --- source/gui/scripting/JSInterface_IGUIObject.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/gui/scripting/JSInterface_IGUIObject.cpp b/source/gui/scripting/JSInterface_IGUIObject.cpp index e3d014b2ee..626a7f47ea 100755 --- a/source/gui/scripting/JSInterface_IGUIObject.cpp +++ b/source/gui/scripting/JSInterface_IGUIObject.cpp @@ -1,4 +1,4 @@ -// $Id: JSInterface_IGUIObject.cpp,v 1.7 2004/07/24 14:03:16 philip Exp $ +// $Id: JSInterface_IGUIObject.cpp,v 1.8 2004/07/24 14:11:12 philip Exp $ #include "precompiled.h" @@ -169,6 +169,8 @@ JSBool JSI_IGUIObject::getProperty(JSContext* cx, JSObject* obj, jsval id, jsval assert(! "This shouldn't happen"); return JS_FALSE; } + + return JS_TRUE; } }