Fix: v.u.d might be uninitialized
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 9 Mar 2020 23:24:07 +0000 (19:24 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 19 Mar 2020 13:50:19 +0000 (09:50 -0400)
commit628f0e45bd8bed9186406cf68a6866ef5f55e60c
tree35570ced9f08def702dd2813e381237263b40310
parentb52a910656ffff948f95c107dd35dc688b5d77c4
Fix: v.u.d might be uninitialized

lttng-filter-interpreter.c:301:17: warning: ‘v.u.d’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   ptr->u.d = v.u.d;

Indeed it seems that the value is never fetched if we compare to other
call sites and the dynamic call site further below.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I542d6db7514a2c39afe3613228577f34f194d672
liblttng-ust/lttng-filter-interpreter.c
This page took 0.024304 seconds and 4 git commands to generate.