Changeset 28636 in webkit for trunk/JavaScriptCore/API/testapi.c


Ignore:
Timestamp:
Dec 11, 2007, 5:32:11 PM (17 years ago)
Author:
[email protected]
Message:

Reviewed by Sam Weinig.


Build fix: Note some variables that are used only for ASSERTs.

  • API/testapi.c: (Base_finalize): (globalObject_initialize): (testInitializeFinalize):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/testapi.c

    r27885 r28636  
    334334static void Base_finalize(JSObjectRef object)
    335335{
     336    UNUSED_PARAM(object);
    336337    if (TestInitializeFinalize) {
    337338        ASSERT((void*)4 == JSObjectGetPrivate(object));
     
    483484    JSObjectRef arrayConstructor = JSValueToObject(context, JSObjectGetProperty(context, globalObject, array, NULL), NULL);
    484485    JSStringRelease(array);
     486
     487    UNUSED_PARAM(arrayConstructor);
    485488    ASSERT(arrayConstructor);
    486489}
     
    516519{
    517520    JSObjectRef o = JSObjectMake(context, Derived_class(context), (void*)1);
     521    UNUSED_PARAM(o);
    518522    ASSERT(JSObjectGetPrivate(o) == (void*)3);
    519523}
Note: See TracChangeset for help on using the changeset viewer.