# HG changeset patch # User Matti Hamalainen # Date 1303300673 -10800 # Node ID 05a44cbd11505dfdc126dd15e179a9a7ce58c5cc # Parent bbb243eba6885a413604aac45d5ef3965fac28fb Minor warning fixes. diff -r bbb243eba688 -r 05a44cbd1150 th_config.c --- a/th_config.c Wed Apr 20 14:57:42 2011 +0300 +++ b/th_config.c Wed Apr 20 14:57:53 2011 +0300 @@ -227,7 +227,7 @@ { va_list ap; va_start(ap, fmt); - fprintf(stderr, "%s: '%s', line #%d: ", th_prog_name, f->filename, f->line); + fprintf(stderr, "%s: '%s', line #%d: ", th_prog_name, f->filename, (unsigned int) f->line); vfprintf(stderr, fmt, ap); va_end(ap); } @@ -562,7 +562,7 @@ tmpCh = c; isStart = FALSE; } else if (VISEND(c)) { - BOOL tmpBool; + BOOL tmpBool = FALSE; /* End of boolean parsing */ switch (tmpCh) {