IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4136


Ignore:
Timestamp:
Jun 7, 2005, 12:37:52 PM (21 years ago)
Author:
gusciora
Message:

Fixed a return value on the PS_ASSERT.

Location:
trunk/psLib/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/psHash.c

    r4135 r4136  
    1212*  @author GLG, MHPCC
    1313*
    14 *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
    15 *  @date $Date: 2005-06-07 22:36:48 $
     14*  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
     15*  @date $Date: 2005-06-07 22:37:52 $
    1616*
    1717*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2525#include "psTrace.h"
    2626#include "psError.h"
     27#include "psConstants.h"
    2728
    2829#include "psCollectionsErrors.h"
     
    367368                   const char *key)     // key to lookup
    368369{
    369     PS_ASSERT_PTR_NON_NULL(table, false);
    370     PS_ASSERT_PTR_NON_NULL(key, false);
     370    PS_ASSERT_PTR_NON_NULL(table, NULL);
     371    PS_ASSERT_PTR_NON_NULL(key, NULL);
    371372
    372373    return doHashWork(table, key, NULL, false);
  • trunk/psLib/src/types/psHash.c

    r4135 r4136  
    1212*  @author GLG, MHPCC
    1313*
    14 *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
    15 *  @date $Date: 2005-06-07 22:36:48 $
     14*  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
     15*  @date $Date: 2005-06-07 22:37:52 $
    1616*
    1717*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2525#include "psTrace.h"
    2626#include "psError.h"
     27#include "psConstants.h"
    2728
    2829#include "psCollectionsErrors.h"
     
    367368                   const char *key)     // key to lookup
    368369{
    369     PS_ASSERT_PTR_NON_NULL(table, false);
    370     PS_ASSERT_PTR_NON_NULL(key, false);
     370    PS_ASSERT_PTR_NON_NULL(table, NULL);
     371    PS_ASSERT_PTR_NON_NULL(key, NULL);
    371372
    372373    return doHashWork(table, key, NULL, false);
Note: See TracChangeset for help on using the changeset viewer.