IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 23, 2012, 6:57:16 AM (14 years ago)
Author:
eugene
Message:

fix build-time warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120601/ippTools/src/pstamptool.c

    r34052 r34058  
    4848static bool stopdependentjobMode(pxConfig *config);
    4949static bool revertjobMode(pxConfig *config);
     50
     51# if (0)
     52// these are unused functions -- since they are 'static', this raises an warning
    5053static bool addprojectMode(pxConfig *config);
    5154static bool projectMode(pxConfig *config);
     
    5962static bool listfileMode(pxConfig *config);
    6063static bool deletefileMode(pxConfig *config);
     64# endif
    6165
    6266# define MODECASE(caseName, func) \
     
    98102        MODECASE(PSTAMPTOOL_MODE_STOPDEPENDENTJOB, stopdependentjobMode);
    99103        MODECASE(PSTAMPTOOL_MODE_REVERTJOB, revertjobMode);
     104# if (0)
    100105        MODECASE(PSTAMPTOOL_MODE_ADDPROJECT, addprojectMode);
    101106        MODECASE(PSTAMPTOOL_MODE_MODPROJECT, modprojectMode);
     
    109114        MODECASE(PSTAMPTOOL_MODE_LISTFILE, listfileMode);
    110115        MODECASE(PSTAMPTOOL_MODE_DELETEFILE, deletefileMode);
     116# endif
    111117        default:
    112118            psAbort("invalid option (this should not happen)");
     
    10951101}
    10961102
     1103# if (0)
     1104// these are unused functions
    10971105static bool addprojectMode(pxConfig *config)
    10981106{
     
    16341642    return true;
    16351643}
     1644# endif
Note: See TracChangeset for help on using the changeset viewer.