Changeset 27207 in webkit for trunk/JavaScriptCore/API/minidom.c


Ignore:
Timestamp:
Oct 28, 2007, 9:31:54 PM (18 years ago)
Author:
darin
Message:

Reviewed by Adam.

  • turn on unused parameter waring on Mac OS X because it's already on elsewhere
  • Configurations/Base.xcconfig: Took out -wno-unused-parameter.
  • API/JSNode.c:
  • API/JSNodeList.c:
  • API/minidom.c:
  • API/testapi.c: Fixed unused variables by using them or marked them with UNUSED_PARAM.
  • kjs/CollectorHeapIntrospector.h: (KJS::CollectorHeapIntrospector::zoneCalloc): Removed parameter names to indicate they are unused.
File:
1 edited

Legend:

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

    r26688 r27207  
    7474static JSValueRef print(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
    7575{
     76    UNUSED_PARAM(object);
     77    UNUSED_PARAM(thisObject);
     78
    7679    if (argumentCount > 0) {
    77         JSStringRef string = JSValueToStringCopy(context, arguments[0], NULL);
     80        JSStringRef string = JSValueToStringCopy(context, arguments[0], exception);
    7881        size_t numChars = JSStringGetMaximumUTF8CStringSize(string);
    7982        char stringUTF8[numChars];
Note: See TracChangeset for help on using the changeset viewer.