Commit 78444ab
Ignore return value of function declared with 'warn_unused_result' (#169)
Summary:
Pull Request resolved: #169
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());
When building locally on a dev server, this compiles just fine, but when building in service lab produced the above build error.
Reviewed By: PaliC
Differential Revision: D39363916
fbshipit-source-id: 26496c629856284ddddd93d21bc6b0548223207a1 parent 1437547 commit 78444ab
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments