From 5a8cecdfb69fc729df95477a86ad5e94efd8632e Mon Sep 17 00:00:00 2001 From: gabime Date: Tue, 28 Mar 2017 02:05:59 +0300 Subject: [PATCH] fix unused warning message --- tests/utils.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/utils.cpp b/tests/utils.cpp index 0593b59d..6b015d42 100644 --- a/tests/utils.cpp +++ b/tests/utils.cpp @@ -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 }