Changeset 815a73c


Ignore:
Timestamp:
Dec 29, 2021, 5:52:03 PM (2 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/crepe
Children:
a2b1159
Parents:
07c70b4b
git-author:
Paul Brossier <piem@piem.org> (12/27/21 01:40:47)
git-committer:
Paul Brossier <piem@piem.org> (12/29/21 17:52:03)
Message:

[pitch_crepe] avoid compiler warnings in release mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/pitch/pitch_crepe.c

    r07c70b4b r815a73c  
    187187  if (!o->flattened) goto failure;
    188188
     189#if defined(DEBUG)
    189190  // permute and flatten
    190191  aubio_tensor_t *permute_input = o->maxpool_output[5];
     
    196197      permute_input->shape[1], permute_input->shape[0],
    197198      o->flattened->shape[0]);
     199#endif
    198200
    199201  if (aubio_dense_get_output_shape(o->dense_layer, o->flattened, output_shape))
     
    515517#else
    516518  AUBIO_ASSERT(o);
     519  AUBIO_UNUSED(o);
    517520  AUBIO_ERR("pitch_crepe: hdf5 support was not built in, failed loading"
    518521      " crepe model\n");
Note: See TracChangeset for help on using the changeset viewer.