Commit cfc6236
committed
refactor: clean up ELP lint warnings across all modules
Use map syntax instead of maps:put/3, wrap macro bodies in parens
to prevent precedence issues, drop the stale -dialyzer nowarn on
handle_headers_complete (dialyzer is fine without it now), swap
maps:find for map pattern matching in flush_stream_send_buffer,
replace maps:to_list comprehension with maps:fold in
flush_all_send_buffers, and strip unused stream_state record
fields (data_buffer, priority, dependency, weight).1 parent 079c7b2 commit cfc6236
4 files changed
Lines changed: 20 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
534 | 534 | | |
535 | 535 | | |
536 | 536 | | |
537 | | - | |
| 537 | + | |
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
| 336 | + | |
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| |||
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
702 | | - | |
703 | 702 | | |
704 | 703 | | |
705 | 704 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | 141 | | |
143 | 142 | | |
144 | 143 | | |
145 | 144 | | |
146 | 145 | | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
| 146 | + | |
153 | 147 | | |
154 | 148 | | |
155 | 149 | | |
| |||
424 | 418 | | |
425 | 419 | | |
426 | 420 | | |
427 | | - | |
| 421 | + | |
428 | 422 | | |
429 | 423 | | |
430 | 424 | | |
| |||
873 | 867 | | |
874 | 868 | | |
875 | 869 | | |
876 | | - | |
| 870 | + | |
877 | 871 | | |
878 | 872 | | |
879 | 873 | | |
| |||
1109 | 1103 | | |
1110 | 1104 | | |
1111 | 1105 | | |
1112 | | - | |
1113 | | - | |
| 1106 | + | |
| 1107 | + | |
1114 | 1108 | | |
1115 | 1109 | | |
1116 | 1110 | | |
| |||
1121 | 1115 | | |
1122 | 1116 | | |
1123 | 1117 | | |
1124 | | - | |
| 1118 | + | |
1125 | 1119 | | |
1126 | 1120 | | |
1127 | 1121 | | |
1128 | 1122 | | |
1129 | 1123 | | |
1130 | 1124 | | |
1131 | 1125 | | |
1132 | | - | |
1133 | | - | |
1134 | | - | |
1135 | | - | |
1136 | | - | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
1137 | 1136 | | |
1138 | 1137 | | |
1139 | 1138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments