rt: Initialize mq_send input on tst-mqueue{5,6}
commitcbf24edbb3123e3154ad2366912e0c1270ad3546
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Wed, 21 Sep 2022 13:51:06 +0000 (21 10:51 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 5 Oct 2022 21:04:13 +0000 (5 18:04 -0300)
treec39c9c95b36f84e0540b99adaae79f2ec5869cee
parent442e3a21724b07b3ae1c3c5eeba4a8e44a1a50a3
rt: Initialize mq_send input on tst-mqueue{5,6}

GCC with -Os warns that the mq_send input may be used uninitialized.
Although for the tests the data content sent is not important, since
both tests checks only if mq_notify was properly set, the warning is
correct and data is indeed uninitialized.

Checked on x86_64-linux-gnu and i686-linux-gnu.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
rt/tst-mqueue5.c
rt/tst-mqueue6.c