Uninitialize the file descriptor.
authorMircea Trofin <mtrofin@google.com>
Thu, 2 Feb 2023 01:30:05 +0000 (17:30 -0800)
committerMircea Trofin <mtrofin@google.com>
Thu, 2 Feb 2023 01:31:42 +0000 (17:31 -0800)
Unblocking the build. Investigating why the value can't be initialized
(even to e.g. -1) before calling open.

llvm/include/llvm/Analysis/InteractiveModelRunner.h

index efec9d0..16fc098 100644 (file)
@@ -61,7 +61,7 @@ private:
   const TensorSpec OutputSpec;
   std::error_code OutEC;
   std::error_code InEC;
-  int Inbound = 0;
+  int Inbound;
   std::vector<char> OutputBuffer;
   std::unique_ptr<Logger> Log;
 };