IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6984


Ignore:
Timestamp:
Apr 25, 2006, 2:27:14 PM (20 years ago)
Author:
Paul Price
Message:

Moving code to avoid using concepts before it's allocated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmFPA.c

    r6970 r6984  
    1212* XXX: Should we implement non-linear cell->chip transforms?
    1313*
    14 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    15 *  @date $Date: 2006-04-25 00:22:25 $
     14*  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     15*  @date $Date: 2006-04-26 00:27:14 $
    1616*
    1717*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    233233    tmpChip->data_exists = false;       // Not yet read in
    234234
     235    tmpChip->concepts = psMetadataAlloc();
     236    tmpChip->conceptsRead = PM_CONCEPT_SOURCE_NONE;
    235237    if (!psMetadataAddStr(tmpChip->concepts, PS_LIST_HEAD, "CHIP.NAME", 0, NULL, name)) {
    236238        psLogMsg(__func__, PS_LOG_WARN, "WARNING: Could not add CHIP.NAME %s to concepts.\n", name);
    237239    }
    238     tmpChip->concepts = psMetadataAlloc();
    239     tmpChip->conceptsRead = PM_CONCEPT_SOURCE_NONE;
    240240    pmConceptsBlankChip(tmpChip);
    241241
Note: See TracChangeset for help on using the changeset viewer.