Changeset 29991 in webkit for trunk/JavaScriptCore/API/JSNode.c


Ignore:
Timestamp:
Feb 4, 2008, 9:51:58 PM (17 years ago)
Author:
[email protected]
Message:

2008-02-04 Cameron McCormack <[email protected]>

Reviewed by Geoff Garen.

Remove some unneccesary UNUSED_PARAMs. Clarify ownership rule of return value of JSObjectCopyPropertyNames.

  • API/JSNode.c: (JSNode_appendChild): (JSNode_removeChild): (JSNode_replaceChild): (JSNode_getNodeType): (JSNode_getFirstChild):
  • API/JSNodeList.c: (JSNodeList_length):
  • API/JSObjectRef.h:
File:
1 edited

Legend:

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

    r29672 r29991  
    3737static JSValueRef JSNode_appendChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
    3838{
    39     UNUSED_PARAM(context);
    4039    UNUSED_PARAM(function);
    4140
     
    6160static JSValueRef JSNode_removeChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
    6261{
    63     UNUSED_PARAM(context);
    6462    UNUSED_PARAM(function);
    6563   
     
    8179static JSValueRef JSNode_replaceChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
    8280{
    83     UNUSED_PARAM(context);
    8481    UNUSED_PARAM(function);
    8582   
     
    110107static JSValueRef JSNode_getNodeType(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
    111108{
    112     UNUSED_PARAM(context);
    113109    UNUSED_PARAM(propertyName);
    114110    UNUSED_PARAM(exception);
     
    137133static JSValueRef JSNode_getFirstChild(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
    138134{
    139     UNUSED_PARAM(context);
     135    UNUSED_PARAM(object);
    140136    UNUSED_PARAM(propertyName);
    141     UNUSED_PARAM(object);
    142137    UNUSED_PARAM(exception);
    143138   
Note: See TracChangeset for help on using the changeset viewer.