Commit 466e944
committed
mktables: Fix Useless use of const in void context
The code was attempting to get a slice of an entire array excluding the
0th element. But it was using the wrong incantation.
The array is the path to a file with each element being one directory.
And it just happened to work because of the current layout of the
directories.
This commit moves this slice fetch so it is not done in the loop, adds
another sanity check, and is generally clearer what is going on.1 parent 12ed097 commit 466e944
File tree
6 files changed
+17
-8
lines changed- lib/unicore
6 files changed
+17
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456712 | 456712 | | |
456713 | 456713 | | |
456714 | 456714 | | |
456715 | | - | |
| 456715 | + | |
456716 | 456716 | | |
456717 | 456717 | | |
456718 | 456718 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16072 | 16072 | | |
16073 | 16073 | | |
16074 | 16074 | | |
16075 | | - | |
| 16075 | + | |
| 16076 | + | |
| 16077 | + | |
| 16078 | + | |
| 16079 | + | |
| 16080 | + | |
| 16081 | + | |
| 16082 | + | |
16076 | 16083 | | |
16077 | | - | |
| 16084 | + | |
| 16085 | + | |
| 16086 | + | |
16078 | 16087 | | |
16079 | 16088 | | |
16080 | 16089 | | |
| |||
16086 | 16095 | | |
16087 | 16096 | | |
16088 | 16097 | | |
16089 | | - | |
| 16098 | + | |
16090 | 16099 | | |
16091 | 16100 | | |
16092 | 16101 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments