]> git.lttng.org Git - lttng-ust.git/commit
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:21 +0000 (09:50 -0400)
commitbc8985a443e65d44421234b2c038cd650f41e0a2
tree08850048484f49b926c1fa474f8e16d705569b02
parent3492e923c10d8c08607a03906913b5d3d72c8013
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.028226 seconds and 4 git commands to generate.