1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

llvm-rc - fix uninitialized variable warnings. NFC.

This commit is contained in:
Simon Pilgrim 2019-11-18 12:04:48 +00:00
parent 403020b193
commit 4880637d79
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ public:
// function to do it.
Error dumpAllStringTables();
bool AppendNull; // Append '\0' to each existing STRINGTABLE element?
bool AppendNull = false; // Append '\0' to each existing STRINGTABLE element?
struct ObjectInfo {
uint16_t LanguageInfo;

View File

@ -84,7 +84,7 @@ namespace {
class Tokenizer {
public:
Tokenizer(StringRef Input) : Data(Input), DataLength(Input.size()) {}
Tokenizer(StringRef Input) : Data(Input), DataLength(Input.size()), Pos(0) {}
Expected<std::vector<RCToken>> run();