initialized `j` with 0
fixed Wformat warning
Merge pull request #1090 from BytesGalore/fix_use_uninitialized_variable_warning

test:test_irq initialized `j` with 0
Merge pull request #1091 from BytesGalore/fix_print_format_warning

test:test_pthread_barrier fixed Wformat warning