Fix: uninitialized variable in lib_ring_buffer_channel_switch_timer_start
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 25 Feb 2021 17:40:48 +0000 (12:40 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 25 Feb 2021 17:40:48 +0000 (12:40 -0500)
commitba7025296f76b11cc8547f5c1000df9b5744b529
tree1dd433c2b63549fabc2f05d262d2a54317c88c62
parent49cde654915a90aab1c1fb1cd02c829b4a3e4473
Fix: uninitialized variable in lib_ring_buffer_channel_switch_timer_start

Found by Coverity:
** CID 1447027:  Uninitialized variables  (UNINIT)
/libringbuffer/ring_buffer_frontend.c: 810 in lib_ring_buffer_channel_switch_timer_start()

>>>     CID 1447027:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "sev". Field "sev._sigev_un" is uninitialized when calling "timer_create".

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Iaa66e5612ff1c51b50c4c0b8f30f3695e1b03153
libringbuffer/ring_buffer_frontend.c
This page took 0.024695 seconds and 4 git commands to generate.