IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7943 for trunk/psLib/src/types


Ignore:
Timestamp:
Jul 20, 2006, 3:00:10 AM (20 years ago)
Author:
rhl
Message:

Add assertion to avoid SEGV

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/types/psLookupTable.c

    r7914 r7943  
    77*  @author Ross Harman, MHPCC
    88*
    9 *  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2006-07-15 02:57:12 $
     9*  @version $Revision: 1.34 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2006-07-20 13:00:10 $
    1111*
    1212*  Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii
     
    856856    // Error checks
    857857    PS_ASSERT_PTR_NON_NULL(table,NULL);
     858    PS_ASSERT_PTR_NON_NULL(table->values,NULL);
    858859    numCols = table->values->n;
    859860    PS_ASSERT_INT_UNEQUAL(numCols, 0,NULL);
Note: See TracChangeset for help on using the changeset viewer.