[llvm] f514b0e - Uninitialize the file descriptor.
Mircea Trofin via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 17:31:51 PST 2023
Author: Mircea Trofin
Date: 2023-02-01T17:31:42-08:00
New Revision: f514b0e144db063931d19a8ebc2dc42083d0eb2f
URL: https://github.com/llvm/llvm-project/commit/f514b0e144db063931d19a8ebc2dc42083d0eb2f
DIFF: https://github.com/llvm/llvm-project/commit/f514b0e144db063931d19a8ebc2dc42083d0eb2f.diff
LOG: Uninitialize the file descriptor.
Unblocking the build. Investigating why the value can't be initialized
(even to e.g. -1) before calling open.
Added:
Modified:
llvm/include/llvm/Analysis/InteractiveModelRunner.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Analysis/InteractiveModelRunner.h b/llvm/include/llvm/Analysis/InteractiveModelRunner.h
index efec9d0f0b140..16fc0982ce5e5 100644
--- a/llvm/include/llvm/Analysis/InteractiveModelRunner.h
+++ b/llvm/include/llvm/Analysis/InteractiveModelRunner.h
@@ -61,7 +61,7 @@ class InteractiveModelRunner : public MLModelRunner {
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;
};
More information about the llvm-commits
mailing list