This is an automated email from the ASF dual-hosted git repository. awong pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kudu.git
commit 73fa1f89b450aa979add6c08b7ffe621bb6c920a Author: Adar Dembo <[email protected]> AuthorDate: Wed Apr 3 17:50:15 2019 -0700 row_operations: suppress a gcc warning I couldn't get this one to budge with pragma suppressions, so I added a default value instead. Change-Id: I606958b25e8cd02bcf610a52e6c35b618f9f9788 Reviewed-on: http://gerrit.cloudera.org:8080/12943 Reviewed-by: Grant Henke <[email protected]> Tested-by: Kudu Jenkins --- src/kudu/common/row_operations.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kudu/common/row_operations.cc b/src/kudu/common/row_operations.cc index 226cb1e..952b56c 100644 --- a/src/kudu/common/row_operations.cc +++ b/src/kudu/common/row_operations.cc @@ -581,7 +581,7 @@ Status RowOperationsPBDecoder::DecodeOperations(vector<DecodedRowOperation>* ops SetupPrototypeRow(*tablet_schema_, &prototype_row); while (HasNext()) { - RowOperationsPB::Type type; + RowOperationsPB::Type type = RowOperationsPB::UNKNOWN; RETURN_NOT_OK(ReadOpType(&type)); DecodedRowOperation op; op.type = type;
