Commit 0401b9c
committed
utf8_to_uv_msgs: Move code to ensure initialization
There was a path through this function in which the caller's parameter
it asked to be set, &msgs, did not get set. And doing it at the
beginning means not needing a second place.
Similarly for &errors. There is no path where it didn't get set, but it
is cleaner to do it in at the same time as doing msgs.1 parent 6a9d009 commit 0401b9c
1 file changed
+8
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1382 | 1382 | | |
1383 | 1383 | | |
1384 | 1384 | | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
1385 | 1393 | | |
1386 | 1394 | | |
1387 | 1395 | | |
1388 | 1396 | | |
1389 | 1397 | | |
1390 | 1398 | | |
1391 | | - | |
1392 | | - | |
1393 | | - | |
1394 | | - | |
1395 | | - | |
1396 | | - | |
1397 | 1399 | | |
1398 | 1400 | | |
1399 | 1401 | | |
| |||
1669 | 1671 | | |
1670 | 1672 | | |
1671 | 1673 | | |
1672 | | - | |
1673 | | - | |
1674 | | - | |
1675 | | - | |
1676 | | - | |
1677 | 1674 | | |
1678 | 1675 | | |
1679 | 1676 | | |
| |||
0 commit comments