IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12500 for trunk/psLib


Ignore:
Timestamp:
Mar 19, 2007, 2:40:06 PM (19 years ago)
Author:
jhoblitt
Message:

silence a warning with at least gcc == 3.4.6

File:
1 edited

Legend:

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

    r12289 r12500  
    77 *  @author David Robbins, MHPCC
    88 *
    9  *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2007-03-07 02:50:15 $
     9 *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2007-03-20 00:40:06 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    7979        }
    8080        psArgumentRemove(argnum, argc, argv);
    81         psTraceSetLevel(argv[argnum], atoi(argv[argnum+1])); // XXX: This function should return an error if the trace level is invalid
     81        // psTraceSetLevel is cast to void to avoid a warning in the case where
     82        // PS_NO_TRACE is set and psTraceSetLevel is a macro returning an
     83        // untyped value
     84        (void)psTraceSetLevel(argv[argnum], atoi(argv[argnum+1])); // XXX: This function should return an error if the trace level is invalid
    8285        psArgumentRemove(argnum, argc, argv);
    8386        psArgumentRemove(argnum, argc, argv);
Note: See TracChangeset for help on using the changeset viewer.