Commit 416aa06
committed
lc-compile: Ensure file pointer is initialised at declaration
In `GetFilenameOfPosition()`, it is possible for `GetFileOfPosition()`
not to provide a valid `MCFileRef`. In that case, `GetFileOfPath()`
would dereference uninitialised value as a pointer.1 parent d51bcee commit 416aa06
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
0 commit comments