deps/kb_meme/meme-5.0.1/src/motif-in.c
/*
 * loop through all the warnings in the format
 * and print them to stderr.
 */
loop through all the warnings in the format
and print them to stderr.
loop through all the warnings in the format and print them to stderr .
static void print_parser_warnings(MFORMAT_T *format) {
  char *warning;
  size_t len;
  if (format->has_warning == NULL || format->next_warning == NULL) return;
  while (format->has_warning(format->data)) {
    warning = format->next_warning(format->data);
    len = strlen(warning);
    fputs(warning, stderr);
    if (len > 0 && warning[len - 1] != '\n') fputs("\n", stderr);
    free(warning);
  }
}
static void print_parser_warnings ( MFORMAT_T * format ) { char * warning ; size_t len ; if ( format -> has_warning == NULL || format -> next_warning == NULL ) return ; while ( format -> has_warning ( format -> data ) ) { warning = format -> next_warning ( format -> data ) ; len = strlen ( warning ) ; fputs ( warning , stderr ) ; if ( len > 0 && warning [ len - 1 ] != ' \n ' ) fputs ( " \n " , stderr ) ; free ( warning ) ; } }
loop through all the warnings in the format
 and print them to stderr.
loop through all the warnings in the format and print them to stderr .
// skip any format that does not support warnings