IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 17, 2008, 1:43:03 PM (18 years ago)
Author:
jhoblitt
Message:

convert assert() to psAssert()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFitsHeader.c

    r17053 r17447  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.43 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2008-03-19 20:23:06 $
     9 *  @version $Revision: 1.44 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2008-04-17 23:43:02 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2121#include <strings.h>
    2222
     23#include "psAbort.h"
    2324#include "psAssert.h"
    2425#include "psFits.h"
     
    230231                              )
    231232{
    232     assert(fits);
     233    psAssert(fits, "impossible");
    233234
    234235    psMetadata *header = psMetadataAlloc(); // Header, to return
     
    414415        // Need to look for MULTI, which won't be picked up using the iterator.
    415416        psMetadataItem *multiCheckItem = psMetadataLookup(header, item->name);
    416         assert(multiCheckItem);
     417        psAssert(multiCheckItem, "impossible");
    417418        unsigned int flag = 0;      // Flag to indicate MULTI; otherwise default action
    418419        if (multiCheckItem->type == PS_DATA_METADATA_MULTI) {
Note: See TracChangeset for help on using the changeset viewer.