Commit fa0a213
committed
sdp: rework handling of 128bit types
The old cose was causing warnings:
```
/__w/libogc/libogc/bt-embedded/bt-embedded/services/sdp.c: In function 'uint128_from_64':
/__w/libogc/libogc/bt-embedded/bt-embedded/services/sdp.c:53:12: warning: 'ret' is used uninitialized [-Wuninitialized]
53 | return ret;
| ^~~
/__w/libogc/libogc/bt-embedded/bt-embedded/services/sdp.c:46:19: note: 'ret' declared here
46 | BteSdpUint128 ret;
| ^~~
```1 parent 2700b68 commit fa0a213
2 files changed
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | 47 | | |
49 | | - | |
| 48 | + | |
50 | 49 | | |
51 | | - | |
| 50 | + | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
57 | | - | |
58 | 56 | | |
59 | | - | |
| 57 | + | |
60 | 58 | | |
61 | | - | |
| 59 | + | |
62 | 60 | | |
63 | 61 | | |
64 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments