Commit ec213f2
fix: move @max_indexes before first use to fix type comparison warning
Module attribute was defined after its use in handle_call, causing
Elixir to compare map_size against nil. lith-http now compiles with
0 warnings.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent decfe98 commit ec213f2
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
212 | 216 | | |
213 | 217 | | |
214 | 218 | | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| |||
0 commit comments