Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore return value of function declared with 'warn_unused_result' (#…
…84369) Summary: X-link: pytorch/pytorch#84369 Pull Request resolved: pytorch#152 Ignore return value of function declared with 'warn_unused_result' 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()); Reviewed By: jiyuanzFB, PaliC Differential Revision: D39181069 fbshipit-source-id: 953eb9e51fd15859bc435b04a1565924865a4b14
- Loading branch information