diff options
author | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2007-05-01 14:18:48 +0000 |
---|---|---|
committer | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2007-05-01 14:18:48 +0000 |
commit | 1ac9d0c05ed4b419eae89cf11cc62404a824c156 (patch) | |
tree | 843c9c12a5232c0c17ccf56a07e43b83e87b1e40 /coregrind/m_scheduler | |
parent | a72c26dc918bcc240a5ea4503d5579a702aaf7ca (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.c | 2 |
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 |