kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ale...@apache.org
Subject [2/2] kudu git commit: test: quell warning in disk_failure-itest
Date Tue, 04 Sep 2018 20:07:15 GMT
test: quell warning in disk_failure-itest

disk_failure-itest will yield the following warning when built:

../../src/kudu/integration-tests/disk_failure-itest.cc:246:3: warning: control may reach end
of non-void function [-Wreturn-type]

Change-Id: If9cd6beb9855b0d22cf5fbb74c4d253ff84f4bca
Reviewed-on: http://gerrit.cloudera.org:8080/11385
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <aserbin@cloudera.com>


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

Branch: refs/heads/master
Commit: a58867c59c0ecbdd2c74d8ac6744b7b3cd304a36
Parents: 060d7b0
Author: Andrew Wong <awong@cloudera.com>
Authored: Tue Sep 4 12:27:04 2018 -0700
Committer: Alexey Serbin <aserbin@cloudera.com>
Committed: Tue Sep 4 20:06:18 2018 +0000

----------------------------------------------------------------------
 src/kudu/integration-tests/disk_failure-itest.cc | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/a58867c5/src/kudu/integration-tests/disk_failure-itest.cc
----------------------------------------------------------------------
diff --git a/src/kudu/integration-tests/disk_failure-itest.cc b/src/kudu/integration-tests/disk_failure-itest.cc
index 111ccf4..7123820 100644
--- a/src/kudu/integration-tests/disk_failure-itest.cc
+++ b/src/kudu/integration-tests/disk_failure-itest.cc
@@ -243,6 +243,7 @@ class DiskErrorITest : public ExternalMiniClusterITestBase,
       };
       return SetFlags(cluster_->tablet_server(i), recovery_flags);
     }
+    return Status::OK();
   }
 
   // Waits for the number of failed tablets on the tablet server to reach


Mime
View raw message