From c0f86714d2920d62838fb6aca98cfda98c310a88 Mon Sep 17 00:00:00 2001 From: avogar Date: Fri, 3 Nov 2023 13:15:02 +0000 Subject: [PATCH] Fix possible use-of-uninitizliaed-value --- cpp/src/parquet/encoding.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/parquet/encoding.cc b/cpp/src/parquet/encoding.cc index dda0e7701b1e4..e7e824896b191 100644 --- a/cpp/src/parquet/encoding.cc +++ b/cpp/src/parquet/encoding.cc @@ -2580,7 +2580,7 @@ class DeltaBitPackDecoder : public DecoderImpl, virtual public TypedDecoder delta_bit_widths_; - int delta_bit_width_; + int delta_bit_width_ = 0; T last_value_; };