Properly initialize Module pointer

llvm-svn: 240881
This commit is contained in:
Jeroen Ketema 2015-06-27 12:35:54 +00:00
parent b744e7210b
commit 2697d2a43b
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ int main(int argc, char **argv) {
cl::ParseCommandLineOptions(argc, argv, "libclc builtin preparation tool\n");
std::string ErrorMessage;
Module *M;
Module *M = nullptr;
{
ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr =