Commit d28c2a8
Ignore return value of function declared with 'warn_unused_result' (pytorch#84369)
Summary:
Pull Request resolved: pytorch#84369
X-link: meta-pytorch/multipy#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());
Test Plan: Successful build
Reviewed By: jiyuanzFB, PaliC
Differential Revision: D39181069
fbshipit-source-id: e571b09c6da9ca3dcac2b5eaf9f8a3f8473adefd1 parent acb4a09 commit d28c2a8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments