Changeset 713


Ignore:
Timestamp:
Dec 14, 2006, 2:34:32 AM (19 years ago)
Author:
bird
Message:

fixed warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kDepIDB/kDepIDB.c

    r398 r713  
    5252#define dprintf(a)              do {} while (0)
    5353#define dump(pb, cb, offBase)   do {} while (0)
    54 #endif 
     54#endif
    5555
    5656
     
    9292    printf("\n");
    9393}
    94 #endif 
     94#endif
    9595
    9696/**
    9797 * Scans a stream (chunk of data really) for dependencies.
    98  * 
     98 *
    9999 * @returns 0 on success.
    100100 * @returns !0 on failure.
     
    181181
    182182///////////////////////////////////////////////////////////////////////////////
    183 // 
    184 // 
     183//
     184//
    185185//  P D B   7 . 0
    186 // 
    187 // 
     186//
     187//
    188188///////////////////////////////////////////////////////////////////////////////
    189189
     
    249249    if (pHdr->iStartPage >= pHdr->cPages && pHdr->iStartPage <= 0)
    250250    {
    251         fprintf(stderr, "%s: error: Bad PDB 2.0 header - iStartPage=%u cPages=%u.\n", argv0, 
     251        fprintf(stderr, "%s: error: Bad PDB 2.0 header - iStartPage=%u cPages=%u.\n", argv0,
    252252                pHdr->iStartPage, pHdr->cPages);
    253253        return 1;
     
    295295            else
    296296            {
    297                 fprintf(stderr, "%s: warning: Invalid page index %u (max %u)!\n", argv0, 
     297                fprintf(stderr, "%s: warning: Invalid page index %u (max %u)!\n", argv0,
    298298                        (unsigned)off, pHdr->cPages);
    299299                memset(pbBuf + iPage * cbPage, 0, cbPage);
     
    382382
    383383    /*
    384      * Iterate the streams in the root and scan their content for 
     384     * Iterate the streams in the root and scan their content for
    385385     * dependencies.
    386386     */
     
    411411
    412412///////////////////////////////////////////////////////////////////////////////
    413 // 
    414 // 
     413//
     414//
    415415//  P D B   2 . 0
    416 // 
    417 // 
     416//
     417//
    418418///////////////////////////////////////////////////////////////////////////////
    419419
     
    584584
    585585    /*
    586      * Iterate the streams in the root and scan their content for 
     586     * Iterate the streams in the root and scan their content for
    587587     * dependencies.
    588588     */
     
    613613static int ProcessIDB(FILE *pInput)
    614614{
    615     long    cbFile;
     615    size_t  cbFile;
    616616    char   *pbFile;
    617617    char   *pbHdr = PDB_SIGNATURE_200;
     
    641641    return rc;
    642642}
    643        
     643
    644644
    645645static void usage(const char *argv0)
Note: See TracChangeset for help on using the changeset viewer.