Branch: Tag:

2014-09-03

2014-09-03 17:53:37 by Martin Nilsson <nilsson@opera.com>

memset is C89 and 4.3BSD

74:       int matrix[65][8];    -  MEMSET(matrix, 0, sizeof(matrix) ); +  memset(matrix, 0, sizeof(matrix) );       for( i = 0; i<nblobs; i++ )    nhits[i] = wf_blob_nhits( blobs[i] );
82:       for( i = 0; i<nblobs; i++ )    { -  MEMSET( pos, 0, nblobs ); +  memset( pos, 0, nblobs );    for( j = 0; j<nhits[i]; j++ )    {    hits[i] = wf_blob_hit( blobs[i], j );
201:    int matrix[65];    double accum = 0.0;    -  MEMSET(matrix, 0, sizeof(matrix) ); +  memset(matrix, 0, sizeof(matrix) );          for( i = 0; i<nblobs; i++ )