Remove unnecessary mxs_log_flush_sync calls

The calls were unnecessary in the context where they were made.
This commit is contained in:
Markus Mäkelä
2018-08-10 15:06:59 +03:00
parent cb990f28dc
commit 70fa300fe1
10 changed files with 0 additions and 37 deletions

View File

@ -162,7 +162,6 @@ int main(int argc, char **argv)
inst = static_cast<ROUTER_INSTANCE*>(MXS_CALLOC(1, sizeof(ROUTER_INSTANCE)));
if (inst == NULL)
{
mxs_log_flush_sync();
mxs_log_finish();
return 1;
@ -884,7 +883,6 @@ int main(int argc, char **argv)
return 1;
}
mxs_log_flush_sync();
mxs_log_finish();
MXS_FREE(inst->user);
MXS_FREE(inst->password);