Fix test warning
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Jun 2011 20:06:52 +0000 (16:06 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Jun 2011 20:06:52 +0000 (16:06 -0400)
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 <yannick.brosseau@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/test_cycles_per_loop.c

index 05a6ea72cf1c9943ae33a027c792731fee8bcc37..cafa309b9d35e6f8d932e62f56a72482470b28ba 100644 (file)
@@ -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;
 }
This page took 0.025755 seconds and 4 git commands to generate.