Commit 39ae015
committed
Fix: Address various compiler warnings
- ggml/src/ggml-cpu/ggml-cpu.c:
- Fix cast discarding 'const' qualifier.
- Remove unused variables 'bs' and 'nbw0'.
- src/llama-quant.cpp:
- Fix comparison of integer expressions of different signedness.
- Remove unused variables 'thread_src', 'thread_dst_char', and 'total_size_written'.1 parent 0e0a92e commit 39ae015
2 files changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8718 | 8718 | | |
8719 | 8719 | | |
8720 | 8720 | | |
8721 | | - | |
| 8721 | + | |
8722 | 8722 | | |
8723 | 8723 | | |
8724 | 8724 | | |
| |||
8863 | 8863 | | |
8864 | 8864 | | |
8865 | 8865 | | |
8866 | | - | |
| 8866 | + | |
8867 | 8867 | | |
8868 | 8868 | | |
8869 | 8869 | | |
| |||
8875 | 8875 | | |
8876 | 8876 | | |
8877 | 8877 | | |
8878 | | - | |
| 8878 | + | |
8879 | 8879 | | |
8880 | 8880 | | |
8881 | 8881 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
299 | | - | |
| 298 | + | |
| 299 | + | |
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| |||
0 commit comments