diff --git a/tests/test_unit_put_fast_fail.cpp b/tests/test_unit_put_fast_fail.cpp index 6adda5374c..835a56ff70 100644 --- a/tests/test_unit_put_fast_fail.cpp +++ b/tests/test_unit_put_fast_fail.cpp @@ -422,7 +422,7 @@ static int gr_teardown(void **unused) system(rmCmd); #else sprintf(rmCmd, "rm -rf %s", testDir.c_str()); - int ret = system(rmCmd); + (void)system(rmCmd); #endif return 0; }