about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorRalph Giles <giles@thaumas.net>2011-05-04 23:19:38 -0700
committerGraydon Hoare <graydon@mozilla.com>2011-05-05 10:55:54 -0700
commit06f071390697270a8342daeb41cb0fe790f65181 (patch)
treea43e5bb61c2e3a5b4ed217446a8e2b4198948019 /src/rt/rust_task.cpp
parentfea623211fafb2ce719eeb9ed47cdb9624e1fbe8 (diff)
downloadrust-06f071390697270a8342daeb41cb0fe790f65181.tar.gz
rust-06f071390697270a8342daeb41cb0fe790f65181.zip
Mark valgrind's _qzz_res as unused to silence warnings on gcc 4.6.
This applies c11675 by Julian Seward from valgrind trunk
(svn://svn.valgrind.org/valgrind/trunk) to rustrt's included
copies of memcheck.h and valgrind.h, effectively backporting
the fix from the unreleased 3.6.2. The commit simply applies
the gcc 'unused' attribute to the relevant declarations.

This change allows compilation of the runtime code under
gcc 4.6 with -Werror, as the makefile currently requests.
Diffstat (limited to 'src/rt/rust_task.cpp')
0 files changed, 0 insertions, 0 deletions