diff options
author | Jean Boussier <[email protected]> | 2025-05-08 09:05:28 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-05-08 09:50:45 +0200 |
commit | 71baa6943ba755963e95735dd8c5750933d1879e (patch) | |
tree | 5b1f2242a4e8d93097774252841c7fd7069f5374 /test | |
parent | cf9046c00b985e46ae48f4a0871d1481ce987b99 (diff) |
variable.c: Fix compilation warnings
```
variable.c: In function ‘iterate_over_shapes_with_callback’:
variable.c:2188:1: warning: control reaches end of non-void function [-Wreturn-type]
2188 | }
| ^
variable.c: In function ‘rb_field_get’:
variable.c:1322:43: warning: ‘fields_tbl’ may be used uninitialized [-Wmaybe-uninitialized]
1322 | return fields_tbl->as.shape.fields[attr_index];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
variable.c:1319:32: note: ‘fields_tbl’ was declared here
1319 | struct gen_fields_tbl *fields_tbl;
|
```
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions