[torch::deploy] Ignore return value of function declared with 'warn_unused_result' (#84862)
Summary:
Addresses the following build failure that we get on some of our internal build environments:
caffe2/torch/csrc/deploy/environment.h:60:5: error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result] system(rmCmd.c_str());
Test Plan: buck build //caffe2/torch/...
Differential Revision: D39364411
Pull Request resolved: https://github.com/pytorch/pytorch/pull/84862
Approved by: https://github.com/PaliC