From: Bart Van Assche Date: Tue, 29 Jul 2008 17:04:31 +0000 (+0000) Subject: Removed duplicate volatile keyword such that the compiler does no longer print a... X-Git-Tag: svn/VALGRIND_3_4_0~296 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ccef7fec7fef614bfd57e1b201dc525e9f2e599;p=thirdparty%2Fvalgrind.git Removed duplicate volatile keyword such that the compiler does no longer print a warning. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8476 --- diff --git a/helgrind/hg_intercepts.c b/helgrind/hg_intercepts.c index b79adb5170..8e988e6927 100644 --- a/helgrind/hg_intercepts.c +++ b/helgrind/hg_intercepts.c @@ -177,7 +177,7 @@ static char* lame_strerror ( long err ) so is mentioned by name in glibc-*helgrind*.supp. */ static void* mythread_wrapper ( void* xargsV ) { - volatile Word volatile* xargs = (volatile Word volatile*) xargsV; + volatile Word* xargs = (volatile Word*) xargsV; void*(*fn)(void*) = (void*(*)(void*))xargs[0]; void* arg = (void*)xargs[1]; pthread_t me = pthread_self();