Avoid uninitialized reads by initializing variable.

PiperOrigin-RevId: 276070930
Change-Id: I0a2451cf61bb4e1f06c857d08f8f76b50897c88d
diff --git a/tensorflow/core/kernels/data/parallel_interleave_dataset_op.cc b/tensorflow/core/kernels/data/parallel_interleave_dataset_op.cc
index 5cd65ee..677ef65 100644
--- a/tensorflow/core/kernels/data/parallel_interleave_dataset_op.cc
+++ b/tensorflow/core/kernels/data/parallel_interleave_dataset_op.cc
@@ -761,7 +761,7 @@
       // Process until the results queue is full or we reach end of input.
       while (true) {
         auto result = std::make_shared<Result>();
-        bool end_of_input;
+        bool end_of_input = false;
         result->status = iterator->GetNext(ctx_.get(), &result->return_values,
                                            &end_of_input);
         if (end_of_input) {