Skip to content
Snippets Groups Projects
Commit 2697d2a4 authored by Jeroen Ketema's avatar Jeroen Ketema
Browse files

Properly initialize Module pointer

llvm-svn: 240881
parent b744e721
No related branches found
No related tags found
No related merge requests found
......@@ -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 =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment