mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-27 23:48:48 +00:00
Fix some GCC warnings
This was SVN commit r7067.
This commit is contained in:
@@ -277,7 +277,7 @@ JSBool JSI_Camera::construct( JSContext* cx, JSObject* UNUSED(obj),
|
||||
|
||||
JSObject* camera = JS_NewObject( cx, &JSI_Camera::JSI_class, NULL, NULL );
|
||||
|
||||
JSU_REQUIRE_PARAM_RANGE(0, 3);
|
||||
JSU_REQUIRE_MAX_PARAMS(3);
|
||||
Camera_Info* camera_info = 0;
|
||||
switch(argc)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user