Changeset 383 for trunk/src/sh_tiger0.c


Ignore:
Timestamp:
Dec 5, 2011, 10:30:33 PM (13 years ago)
Author:
katerina
Message:

Fix for ticket #281 (warnings from clang static analyzer).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_tiger0.c

    r300 r383  
    287287        sh.statistics.bytes_hashed += tt;
    288288       
    289         bptr = buffer; tt = 0;
     289        tt = 0;
    290290        for (i = 0; i < blk; ++i)
    291291          {
     
    366366        /* MAY_LOCK */
    367367        sh.statistics.bytes_hashed += 64;
    368         ++nblocks; ncount = 0;
     368        ++nblocks;
     369#ifdef TIGER_DBG
     370        ncount = 0;
     371#endif
    369372        sl_memset(bbuf, 0, 56 );
    370373      }
Note: See TracChangeset for help on using the changeset viewer.