IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12308


Ignore:
Timestamp:
Mar 7, 2007, 5:51:11 PM (19 years ago)
Author:
Paul Price
Message:

Index may be negative.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/types/psList.h

    r12306 r12308  
    55 *  @author Robert Daniel DeSonia, MHPCC
    66 *
    7  *  @version $Revision: 1.43 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2007-03-08 03:36:05 $
     7 *  @version $Revision: 1.44 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2007-03-08 03:51:11 $
    99 *
    1010 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    285285#define PS_ASSERT_LIST_ITERATOR_NON_NULL(NAME, RVAL) \
    286286if (!(NAME) || !(NAME)->list || !(NAME)->list->iterators || (NAME)->list->n < 0 || \
    287     (!(NAME)->cursor && (NAME)->list->head) || (NAME)->index < 0) { \
     287    (!(NAME)->cursor && (NAME)->list->head)) { \
    288288    psError(PS_ERR_BAD_PARAMETER_VALUE, true, \
    289289            "Error: List iterator %s or one of its components is NULL.", \
Note: See TracChangeset for help on using the changeset viewer.