PRBool PR_CALLBACK InitBFSTable(nsHashKey *aKey, void *aData, void* closure) {
static PRBool PR_CALLBACK InitBFSTable(nsHashKey *aKey, void *aData, void* closure) {
PRBool PR_CALLBACK InitBFSTable(nsHashKey *aKey, void *aData, void* closure) {    nsHashtable *BFSTable = (nsHashtable*)closure;    if (!BFSTable) return PR_FALSE;    BFSState *state = new BFSState;    if (!state) return NS_ERROR_OUT_OF_MEMORY;    state->color = white;    state->distance = -1;    state->predecessor = nsnull;    SCTableData *data = new SCTableData;    if (!data) return NS_ERROR_OUT_OF_MEMORY;    data->key = aKey->Clone();    SCTableData *origData = (SCTableData*)aData;    NS_ASSERTION(origData, "no data in the table enumeration");    data->keyString = new nsCString(*origData->keyString);    data->data = state;    BFSTable->Put(aKey, data);    return PR_TRUE;   };