mirror of git://gcc.gnu.org/git/gcc.git
method-serial.cc: Mark varible as potentially unused to silence warning.
* method-serial.cc: Mark varible as potentially unused
to silence warning.
From-SVN: r265627
This commit is contained in:
parent
0321d9fac6
commit
1f82422acc
|
|
@ -1,3 +1,8 @@
|
|||
2018-10-30 Nicholas Krause <xerofoify@gmail.com>
|
||||
|
||||
* method-serial.cc: Mark varible as potentially unused
|
||||
to silence warning.
|
||||
|
||||
2018-08-03 Sergei Trofimovich <slyfox@gentoo.org>
|
||||
|
||||
* config/sh/sjlj.S: Adjust to use PIC vs normal code to avoid
|
||||
|
|
|
|||
|
|
@ -306,7 +306,7 @@ GTM::gtm_thread::serialirr_mode ()
|
|||
// We're already serial, so we don't need to ensure privatization safety
|
||||
// for other transactions here.
|
||||
gtm_word priv_time = 0;
|
||||
bool ok = disp->trycommit (priv_time);
|
||||
bool ok __attribute__((unused)) = disp->trycommit (priv_time);
|
||||
// Given that we're already serial, the trycommit better work.
|
||||
assert (ok);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue