Merge pull request #687 from jhasse/patch-1

Silence warning "value stored to rv is never read"
This commit is contained in:
Gabi Melman 2018-04-16 14:38:07 +03:00 committed by GitHub
commit d921a9649c
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