kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [1/2] kudu git commit: [catalog_manager] removed unused variable
Date Fri, 02 Dec 2016 21:42:48 GMT
Repository: kudu
Updated Branches:
  refs/heads/master b15c0f6e3 -> 60aa54e21


[catalog_manager] removed unused variable

This patch does not contain any functional changes.

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


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

Branch: refs/heads/master
Commit: 7cb65591e18dd6394272d8cca4d653b49d6dd4b9
Parents: b15c0f6
Author: Alexey Serbin <aserbin@cloudera.com>
Authored: Thu Nov 17 23:16:01 2016 -0800
Committer: Adar Dembo <adar@cloudera.com>
Committed: Fri Dec 2 21:37:17 2016 +0000

----------------------------------------------------------------------
 src/kudu/master/catalog_manager.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/7cb65591/src/kudu/master/catalog_manager.cc
----------------------------------------------------------------------
diff --git a/src/kudu/master/catalog_manager.cc b/src/kudu/master/catalog_manager.cc
index 0f3dff3..3df0d46 100644
--- a/src/kudu/master/catalog_manager.cc
+++ b/src/kudu/master/catalog_manager.cc
@@ -42,9 +42,7 @@
 #include "kudu/master/catalog_manager.h"
 
 #include <algorithm>
-#include <boost/optional.hpp>
 #include <condition_variable>
-#include <glog/logging.h>
 #include <memory>
 #include <mutex>
 #include <set>
@@ -52,6 +50,9 @@
 #include <utility>
 #include <vector>
 
+#include <boost/optional.hpp>
+#include <glog/logging.h>
+
 #include "kudu/cfile/type_encodings.h"
 #include "kudu/common/key_util.h"
 #include "kudu/common/partial_row.h"
@@ -3561,7 +3562,6 @@ Status CatalogManager::GetTableLocations(const GetTableLocationsRequestPB*
req,
   vector<scoped_refptr<TabletInfo> > tablets_in_range;
   table->GetTabletsInRange(req, &tablets_in_range);
 
-  ServerRegistrationPB reg;
   for (const scoped_refptr<TabletInfo>& tablet : tablets_in_range) {
     Status s = BuildLocationsForTablet(tablet, resp->add_tablet_locations());
     if (s.ok()) {


Mime
View raw message