Commit d61d993
committed
Fix: Address various compiler warnings
- ggml/src/ggml.c:
- Remove braces around scalar initializer for `sq_info`.
- Explicitly initialize the `padding` field.
- ggml/src/ggml-cpu/ggml-cpu.c:
- Change `src1_segment_prepared_data` to `const void *` to fix assignment discards 'const' qualifier warning.1 parent 39ae015 commit d61d993
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8699 | 8699 | | |
8700 | 8700 | | |
8701 | 8701 | | |
8702 | | - | |
| 8702 | + | |
8703 | 8703 | | |
8704 | 8704 | | |
8705 | 8705 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1616 | 1616 | | |
1617 | 1617 | | |
1618 | 1618 | | |
1619 | | - | |
| 1619 | + | |
| 1620 | + | |
1620 | 1621 | | |
1621 | 1622 | | |
1622 | 1623 | | |
| |||
0 commit comments