summaryrefslogtreecommitdiff
path: root/coregrind/m_scheduler
diff options
context:
space:
mode:
authorsewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>2007-05-01 14:18:48 +0000
committersewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>2007-05-01 14:18:48 +0000
commit1ac9d0c05ed4b419eae89cf11cc62404a824c156 (patch)
tree843c9c12a5232c0c17ccf56a07e43b83e87b1e40 /coregrind/m_scheduler
parenta72c26dc918bcc240a5ea4503d5579a702aaf7ca (diff)
Avoid compilation warnings with gcc-4.2.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6722 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'coregrind/m_scheduler')
-rw-r--r--coregrind/m_scheduler/scheduler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coregrind/m_scheduler/scheduler.c b/coregrind/m_scheduler/scheduler.c
index c8e41ae9..c3f09d05 100644
--- a/coregrind/m_scheduler/scheduler.c
+++ b/coregrind/m_scheduler/scheduler.c
@@ -760,7 +760,7 @@ static void handle_tt_miss ( ThreadId tid )
static void handle_syscall(ThreadId tid)
{
- ThreadState *tst = VG_(get_ThreadState)(tid);
+ ThreadState * volatile tst = VG_(get_ThreadState)(tid);
Bool jumped;
/* Syscall may or may not block; either way, it will be