Silence warning "value stored to rv is never read"

This commit is contained in:
Jan Niklas Hasse 2018-04-16 10:58:50 +02:00 committed by GitHub
parent 5e08950ed2
commit 1b2f6815bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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