From 1b2f6815bf784ac67defb72966511316b0d6458b Mon Sep 17 00:00:00 2001 From: Jan Niklas Hasse Date: Mon, 16 Apr 2018 10:58:50 +0200 Subject: [PATCH] Silence warning "value stored to rv is never read" --- tests/utils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/utils.cpp b/tests/utils.cpp index 2c50ce36..5afdb4cf 100644 --- a/tests/utils.cpp +++ b/tests/utils.cpp @@ -8,6 +8,7 @@ void prepare_logdir() system("del /F /Q logs\\*"); #else auto rv = system("mkdir -p logs"); + (void)rv; rv = system("rm -f logs/*"); (void)rv; #endif