Ignore:
Timestamp:
Jun 20, 2008, 2:51:31 PM (17 years ago)
Author:
[email protected]
Message:

2008-06-20 Kevin McCullough <[email protected]>

-Leopard Build Fix.

  • profiler/Profile.cpp: (KJS::Profile::removeProfileStart): (KJS::Profile::removeProfileEnd):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/profiler/Profile.cpp

    r34698 r34703  
    9292// The console.profile that started this profile will be the first child.
    9393void Profile::removeProfileStart() {
    94     ProfileNode* currentNode;
     94    ProfileNode* currentNode = 0;
    9595    for (ProfileNode* next = m_head.get(); next; next = next->firstChild())
    9696        currentNode = next;
     
    107107// The console.profileEnd that stopped this profile will be the last child.
    108108void Profile::removeProfileEnd() {
    109     ProfileNode* currentNode;
     109    ProfileNode* currentNode = 0;
    110110    for (ProfileNode* next = m_head.get(); next; next = next->lastChild())
    111111        currentNode = next;
Note: See TracChangeset for help on using the changeset viewer.