Commit 1f82422a by Nicholas Krause Committed by Jeff Law

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
parent 0321d9fa
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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment