check: Fix uninitialized variable compiler warning with gcc
authorSebastian Dröge <sebastian@centricular.com>
Sat, 21 Mar 2015 18:37:30 +0000 (19:37 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 21 Mar 2015 18:37:30 +0000 (19:37 +0100)
commit805684585e5f6f4d7253ec0834af2f78f1f0288c
treed183d70f24d35ff49a0f64f8d4c76793242c81cc
parent7646cef644af79d55635c80773948771768d17ff
check: Fix uninitialized variable compiler warning with gcc

check_run.c: In function 'sig_handler':
check_run.c:127:13: warning: 'child_sig' may be used uninitialized in this function [-Wmaybe-uninitialized]
             killpg(group_pid, child_sig);
             ^
check_run.c:130:31: warning: 'idx' may be used uninitialized in this function [-Wmaybe-uninitialized]
             sigaction(sig_nr, &old_action[idx], NULL);
                               ^
libs/gst/check/libcheck/check_run.c