IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 5, 2004, 2:20:50 PM (22 years ago)
Author:
harman
Message:

Update makefile and *.c files with warnings that caused build to fail

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sysUtils/tst_psHash00.c

    r560 r584  
    77#include "psHash.h"
    88#define NUM_HASH_TABLE_BUCKETS 10
    9 main()
     9int main()
    1010{
    1111    psHash *myHashTable = NULL;
     
    2626    if (myHashTable->nbucket != NUM_HASH_TABLE_BUCKETS) {
    2727        fprintf(stderr, "%s: myHashTable->nbucket not set properly.\n",
    28                 __func__, i);
     28                __func__);
    2929        testStatus = false;
    3030
     
    3333    if (myHashTable->buckets == NULL) {
    3434        fprintf(stderr, "%s: myHashTable->buckets is NULL.\n",
    35                 __func__, i);
     35                __func__);
    3636        testStatus = false;
    3737
     
    5151                testStatus);
    5252
    53     exit(!testStatus);
     53    return (!testStatus);
    5454}
Note: See TracChangeset for help on using the changeset viewer.