Ticket #36812: clang.patch

File clang.patch, 731 bytes (added by qqshfox@…, 12 years ago)
  • src/libpocketsphinx/fsg_search.c

    old new  
    260260   
    261261    /* Nothing to update */
    262262    if (fsgs->fsg == NULL)
    263         return;
     263        return 0;
    264264
    265265    /* Update the number of words (not used by this module though). */
    266266    search->n_words = dict_size(dict);
  • src/libpocketsphinx/ngram_search.c

    old new  
    279279    ps_search_base_reinit(search, dict, d2p);
    280280   
    281281    if (ngs->lmset == NULL)
    282         return;
     282        return 0;
    283283
    284284    /* Update beam widths. */
    285285    ngram_search_calc_beams(ngs);