kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject [1/2] incubator-kudu git commit: Squelch unused variable warning in partition.cc
Date Fri, 29 Jan 2016 22:28:17 GMT
Repository: incubator-kudu
Updated Branches:
  refs/heads/master 82fdeb64e -> 18dbc453a


Squelch unused variable warning in partition.cc

Change-Id: I04452b96cc38bd22537550822a5a915ae4dbea56
Reviewed-on: http://gerrit.cloudera.org:8080/1960
Reviewed-by: Adar Dembo <adar@cloudera.com>
Tested-by: Kudu Jenkins


Project: http://git-wip-us.apache.org/repos/asf/incubator-kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kudu/commit/da637d20
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kudu/tree/da637d20
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kudu/diff/da637d20

Branch: refs/heads/master
Commit: da637d20d47ded557188edf44865e159dee7202e
Parents: 82fdeb6
Author: Dan Burkert <dan@cloudera.com>
Authored: Fri Jan 29 11:47:02 2016 -0800
Committer: Dan Burkert <dan@cloudera.com>
Committed: Fri Jan 29 21:39:31 2016 +0000

----------------------------------------------------------------------
 src/kudu/common/partition.cc | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/da637d20/src/kudu/common/partition.cc
----------------------------------------------------------------------
diff --git a/src/kudu/common/partition.cc b/src/kudu/common/partition.cc
index 4ce5e5d..2e0efc9 100644
--- a/src/kudu/common/partition.cc
+++ b/src/kudu/common/partition.cc
@@ -408,6 +408,7 @@ Status PartitionSchema::DecodeHashBuckets(Slice* encoded_key,
                    hash_components_size, encoded_key->size()));
   }
   for (const auto& schema : hash_bucket_schemas_) {
+    (void) schema; // quiet unused variable warning
     uint32_t big_endian;
     memcpy(&big_endian, encoded_key->data(), sizeof(uint32_t));
     buckets->push_back(BigEndian::ToHost32(big_endian));


Mime
View raw message