Commit ddbb119
committed
libbpf-cargo: Suppress some Clippy warnings
With the changes to initialize maps inline during skeleton open/load, we
may end up with Clippy complaining that a loop never loops or a match
never matches, if there are no maps present.
Silence the warnings. Such patterns are to be expected in generated code
like this.
Closes: #921
Signed-off-by: Daniel Müller <[email protected]>1 parent 658277e commit ddbb119
2 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
1 | 7 | | |
2 | 8 | | |
3 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
| 461 | + | |
461 | 462 | | |
462 | 463 | | |
463 | 464 | | |
| |||
468 | 469 | | |
469 | 470 | | |
470 | 471 | | |
| 472 | + | |
471 | 473 | | |
472 | 474 | | |
473 | 475 | | |
| |||
0 commit comments