Correct uninitialized variable.

PiperOrigin-RevId: 312741918
This commit is contained in:
Snappy Team 2020-05-21 21:30:02 +00:00 committed by Victor Costan
parent 837f38b3e0
commit f16eda3466
1 changed files with 2 additions and 1 deletions

View File

@ -1538,7 +1538,8 @@ class SnappyScatteredWriter {
full_size_(0),
op_base_(NULL),
op_ptr_(NULL),
op_limit_(NULL) {
op_limit_(NULL),
op_limit_min_slop_(NULL) {
}
char* GetOutputPtr() { return op_ptr_; }
void SetOutputPtr(char* op) { op_ptr_ = op; }