1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00

MCDwarfFile::DirIndex - fix uninitialized variable warning. NFCI.

This commit is contained in:
Simon Pilgrim 2019-11-04 17:16:52 +00:00
parent 23303b3019
commit 6eb000e647

View File

@ -54,7 +54,7 @@ struct MCDwarfFile {
std::string Name;
// The index into the list of directory names for this file name.
unsigned DirIndex;
unsigned DirIndex = 0;
/// The MD5 checksum, if there is one. Non-owning pointer to data allocated
/// in MCContext.