From: Bart Van Assche Date: Thu, 10 Jul 2008 12:13:40 +0000 (+0000) Subject: Suppressed a compiler warning. X-Git-Tag: svn/VALGRIND_3_4_0~334 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a01bec5c4016009cc172f3e43a622cc66791ef81;p=thirdparty%2Fvalgrind.git Suppressed a compiler warning. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8413 --- diff --git a/drd/tests/atomic_var.c b/drd/tests/atomic_var.c index 5e220fafd5..a4c6c8f17e 100644 --- a/drd/tests/atomic_var.c +++ b/drd/tests/atomic_var.c @@ -34,7 +34,7 @@ static int s_y = 0; static void* thread_func_1(void* arg) { s_y = 1; - __sync_add_and_fetch(&s_x, 1); + (void) __sync_add_and_fetch(&s_x, 1); return 0; }