Commit ac8c7a1c authored by Marko Mäkelä's avatar Marko Mäkelä

Fix -Wunused-variable

parent b154d302
...@@ -2417,7 +2417,9 @@ static bool srv_purge_should_exit() ...@@ -2417,7 +2417,9 @@ static bool srv_purge_should_exit()
return(true); return(true);
} }
/* Slow shutdown was requested. */ /* Slow shutdown was requested. */
if (ulint history_size = trx_sys.history_size()) { ulint history_size = trx_sys.history_size();
if (history_size) {
#if defined HAVE_SYSTEMD && !defined EMBEDDED_LIBRARY #if defined HAVE_SYSTEMD && !defined EMBEDDED_LIBRARY
static ib_time_t progress_time; static ib_time_t progress_time;
ib_time_t time = ut_time(); ib_time_t time = ut_time();
......
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