Ignore:
Timestamp:
Aug 7, 2005, 9:35:22 PM (20 years ago)
Author:
darin
Message:
  • fixed two problems compiling with gcc 4.0
  • kjs/array_object.cpp: (ArrayProtoFuncImp::callAsFunction): Initialized a variable to quiet an erroneous warning.
  • kjs/date_object.cpp: (KJS::makeTime): Removed extraneous KJS:: prefix.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/array_object.cpp

    r10084 r10086  
    427427  unsigned length = thisObj->get(exec,lengthPropertyName)->toUInt32(exec);
    428428
    429   ValueImp *result;
     429  ValueImp *result = 0; // work around gcc 4.0 bug in uninitialized variable warning
    430430 
    431431  switch (id) {
Note: See TracChangeset for help on using the changeset viewer.