Commit 3cd9bca
committed
Fix unused-result warning on fread in dlt-system-processes
GCC -Werror=unused-result is not suppressed by (void) cast. Replace
with an if-check on the return value.
Signed-off-by: LUU QUANG MINH <Minh.LuuQuang@vn.bosch.com>1 parent a373a8a commit 3cd9bca
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
0 commit comments