Commit 1a5b3ab
Ignore return value of function declared with 'warn_unused_result'
Summary:
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());
Differential Revision: D39181069
fbshipit-source-id: e9516178b645729874a7cc1b82720789a1aca0d11 parent 45e6401 commit 1a5b3ab
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