Changeset 8fe522d


Ignore:
Timestamp:
Dec 23, 2018, 12:01:43 AM (5 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/crepe, fix/ffmpeg5, master
Children:
135bc14
Parents:
4cb2d54
Message:

[strutils] no declaration after statement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/utils/strutils.c

    r4cb2d54 r8fe522d  
    2323const char_t *aubio_str_get_extension(const char_t *filename)
    2424{
     25  // find last occurence of dot character
     26  const char_t *ext;
    2527  if (!filename) return NULL;
    26   // find last occurence of dot character
    27   const char_t *ext = strrchr(filename, '.');
     28  ext = strrchr(filename, '.');
    2829  if (!ext || ext == filename) return "";
    2930  else return ext + 1;
Note: See TracChangeset for help on using the changeset viewer.