]> git.lttng.org Git - userspace-rcu.git/commit
Fix: test: side-effect in assertion
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 21 Sep 2015 15:55:17 +0000 (11:55 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 21 Sep 2015 15:55:17 +0000 (11:55 -0400)
commit19d0e7ef8f7998fb256017ba2da414d78b3cb91b
treea01bfec9533ed82fa3c14b6fa5b245d1dc4764cb
parent999991c6e4600c410181baea65bda9f406464872
Fix: test: side-effect in assertion

Coverity detected:

CID 1021642 (#1 of 2): Side effect in assertion
(ASSERT_SIDE_EFFECT)assert_side_effect: Argument test_array of assert()
has a side effect because the variable is volatile. The containing
function might work differently in a non-debug build.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/benchmark/test_mutex.c
tests/benchmark/test_perthreadlock.c
This page took 0.029431 seconds and 4 git commands to generate.