Skip to content

Commit

Permalink
Fix possible use-of-uninitizliaed-value
Browse files Browse the repository at this point in the history
  • Loading branch information
Avogar committed Nov 3, 2023
1 parent 8cdbf43 commit c0f8671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/parquet/encoding.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2580,7 +2580,7 @@ class DeltaBitPackDecoder : public DecoderImpl, virtual public TypedDecoder<DTyp
T min_delta_;
uint32_t mini_block_idx_;
std::shared_ptr<ResizableBuffer> delta_bit_widths_;
int delta_bit_width_;
int delta_bit_width_ = 0;

T last_value_;
};
Expand Down

0 comments on commit c0f8671

Please sign in to comment.