forked from mirrors/0ad
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 r814.
This commit is contained in:
@@ -20,7 +20,7 @@ JSPropertySpec Point2dProperties[] =
|
||||
{0}
|
||||
};
|
||||
|
||||
JSBool Point2d_Constructor(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
JSBool Point2d_Constructor(JSContext* UNUSEDPARAM(cx), JSObject* obj, uintN argc, jsval* argv, jsval* UNUSEDPARAM(rval))
|
||||
{
|
||||
if (argc == 2)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user