Commit 5a8cecdf authored by gabime's avatar gabime

fix unused warning message

parent 397d4866
#include "includes.h" #include "includes.h"
void prepare_logdir() void prepare_logdir()
{ {
spdlog::drop_all(); spdlog::drop_all();
#ifdef _WIN32 #ifdef _WIN32
system("if not exist logs mkdir logs"); system("if not exist logs mkdir logs");
system("del /F /Q logs\\*"); system("del /F /Q logs\\*");
#else #else
system("mkdir -p logs"); auto rv = system("mkdir -p logs");
system("rm -f logs/*"); rv = system("rm -f logs/*");
(void)rv;
#endif #endif
} }
......
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