mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 01:51:38 +08:00
fix unused warning message
This commit is contained in:
parent
397d4866b3
commit
5a8cecdfb6
@ -1,14 +1,16 @@
|
||||
#include "includes.h"
|
||||
|
||||
|
||||
void prepare_logdir()
|
||||
{
|
||||
spdlog::drop_all();
|
||||
spdlog::drop_all();
|
||||
#ifdef _WIN32
|
||||
system("if not exist logs mkdir logs");
|
||||
system("del /F /Q logs\\*");
|
||||
#else
|
||||
system("mkdir -p logs");
|
||||
system("rm -f logs/*");
|
||||
auto rv = system("mkdir -p logs");
|
||||
rv = system("rm -f logs/*");
|
||||
(void)rv;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user