You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by al...@apache.org on 2019/12/05 22:01:06 UTC

[kudu] branch master updated: small cleanup: remove unnecessary semicolons (part 3)

This is an automated email from the ASF dual-hosted git repository.

alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/master by this push:
     new 450dc52  small cleanup: remove unnecessary semicolons (part 3)
450dc52 is described below

commit 450dc527a5bcbb6d4ab458508c92ada8a66b9cde
Author: Alexey Serbin <as...@cloudera.com>
AuthorDate: Mon Oct 8 17:27:54 2018 -0700

    small cleanup: remove unnecessary semicolons (part 3)
    
    The motivation for this change was seeing a few warnings generated by
    the built-in static analysis tools while browsing the code in QtCreator.
    
    This patch does not contain any functional changes.
    
    Change-Id: Id5b0e9f9f34030e4ede2dc5d2d256d386086b716
    Reviewed-on: http://gerrit.cloudera.org:8080/14847
    Reviewed-by: Adar Dembo <ad...@cloudera.com>
    Tested-by: Kudu Jenkins
---
 src/kudu/util/env_posix.cc | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/kudu/util/env_posix.cc b/src/kudu/util/env_posix.cc
index 05a6ed3..cfe4b03 100644
--- a/src/kudu/util/env_posix.cc
+++ b/src/kudu/util/env_posix.cc
@@ -29,6 +29,7 @@
 #include <ostream>
 #include <string>
 #include <type_traits>
+#include <utility>
 #include <vector>
 
 #include <gflags/gflags.h>
@@ -1194,7 +1195,7 @@ class PosixEnv : public Env {
       result = IOError(fname, errno);
     }
     return result;
-  };
+  }
 
   virtual Status CreateDir(const string& name) OVERRIDE {
     TRACE_EVENT1("io", "PosixEnv::CreateDir", "path", name);
@@ -1205,7 +1206,7 @@ class PosixEnv : public Env {
       result = IOError(name, errno);
     }
     return result;
-  };
+  }
 
   virtual Status DeleteDir(const string& name) OVERRIDE {
     TRACE_EVENT1("io", "PosixEnv::DeleteDir", "path", name);
@@ -1216,7 +1217,7 @@ class PosixEnv : public Env {
       result = IOError(name, errno);
     }
     return result;
-  };
+  }
 
   Status GetCurrentWorkingDir(string* cwd) const override {
     TRACE_EVENT0("io", "PosixEnv::GetCurrentWorkingDir");