From: Mathieu Desnoyers Date: Mon, 13 Jun 2011 20:06:52 +0000 (-0400) Subject: Fix test warning X-Git-Tag: v0.6.2~3 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9907018c352fb561689dfb8e943f38e3ae862ea2;p=userspace-rcu.git Fix test warning Patch from: https://build.opensuse.org/package/view_file?file=liburcu0-cleanup.patch&package=liburcu0&project=devel%3Atools%3Alttng&srcmd5=fa3ab9fae0401b4c0f73a9cf474eea16 fixes a warning in the liburcu tests. Reported-by: Yannick Brosseau Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/test_cycles_per_loop.c b/tests/test_cycles_per_loop.c index 05a6ea7..cafa309 100644 --- a/tests/test_cycles_per_loop.c +++ b/tests/test_cycles_per_loop.c @@ -18,4 +18,5 @@ int main() time2 = caa_get_cycles(); printf("CPU clock cycles per loop: %g\n", (time2 - time1) / (double)NR_LOOPS); + return 0; }