Commit d720240
committed
tests: posix: net + barriers: mitigate codesonar issues
This change mitigates some code sonar issues (from SonarQube).
1. explicit 'U' after 0xffffffff
> A cast shall not remove any const or volatile qualification from the
> type of a pointer or reference c:S859
2. check return value from call to pthread_barrierattr_getpshared()
> Unused assignments should be removed c:S1854
Signed-off-by: Chris Friedt <[email protected]>1 parent 241d0a5 commit d720240
3 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
0 commit comments