Commit 9b6e981
authored
Fix some warnings in generated code (#593)
* Refs #25536. Add `f` for default values in float types.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #25536. Remove unnecessary braces.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #25536. Remove more unnecessary braces.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
* Refs #25536. Add braces for array types.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
---------
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>1 parent 72f89a0 commit 9b6e981
3 files changed
Lines changed: 11 additions & 3 deletions
File tree
- src/main/java/com/eprosima
- fastcdr/idl/templates
- fastdds/idl/templates
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
0 commit comments