Commit 902fc2f
lib: consolidate lazyErrmapGet()
There are currently two implementations of this function.
This commit removes the redundancy, and removes "lazy" from
the name.
PR-URL: #29285
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>1 parent fdfde05 commit 902fc2fCopy full SHA for 902fc2f
Expand file treeCollapse file tree
2 files changed
+12
-20
lines changedOpen diff view settings
Collapse file
+4-3Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
327 | 327 | |
328 | 328 | |
329 | 329 | |
330 | | - |
| 330 | + |
331 | 331 | |
332 | 332 | |
333 | 333 | |
| ||
346 | 346 | |
347 | 347 | |
348 | 348 | |
349 | | - |
| 349 | + |
350 | 350 | |
351 | 351 | |
352 | 352 | |
| ||
404 | 404 | |
405 | 405 | |
406 | 406 | |
407 | | - |
| 407 | + |
408 | 408 | |
409 | 409 | |
410 | 410 | |
| ||
666 | 666 | |
667 | 667 | |
668 | 668 | |
| 669 | + |
669 | 670 | |
670 | 671 | |
671 | 672 | |
|
Collapse file
+8-17Lines changed: 8 additions & 17 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
5 | 4 | |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
10 | 12 | |
11 | 13 | |
12 | 14 | |
| ||
244 | 246 | |
245 | 247 | |
246 | 248 | |
247 | | - |
248 | | - |
249 | | - |
250 | | - |
251 | | - |
252 | | - |
253 | | - |
254 | | - |
255 | | - |
256 | | - |
257 | | - |
258 | 249 | |
259 | | - |
| 250 | + |
260 | 251 | |
261 | 252 | |
262 | 253 | |
|
0 commit comments