Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: JaySon-Huang <jayson.hjs@gmail.com>
  • Loading branch information
JaySon-Huang authored and ti-chi-bot committed May 27, 2022
1 parent aa22765 commit aed2e46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbms/src/Server/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ struct RaftStoreProxyRunner : boost::noncopyable
}

RunRaftStoreProxyParms parms;
pthread_t thread;
pthread_t thread{};
Poco::Logger * log;
};

Expand Down Expand Up @@ -1155,7 +1155,7 @@ int Server::main(const std::vector<std::string> & /*args*/)

/// Try to increase limit on number of open files.
{
rlimit rlim;
rlimit rlim{};
if (getrlimit(RLIMIT_NOFILE, &rlim))
throw Poco::Exception("Cannot getrlimit");

Expand Down

0 comments on commit aed2e46

Please sign in to comment.