fix some style problems detected by cppcheck
This commit is contained in:
parent
7ee3929382
commit
dfa5318765
|
@ -517,7 +517,7 @@ public:
|
|||
m_context.options().unregister_watcher(*this);
|
||||
}
|
||||
BufferCompleter(const BufferCompleter&) = delete;
|
||||
BufferCompleter operator=(const BufferCompleter&) = delete;
|
||||
BufferCompleter& operator=(const BufferCompleter&) = delete;
|
||||
|
||||
void select(int offset)
|
||||
{
|
||||
|
|
|
@ -459,9 +459,8 @@ private:
|
|||
};
|
||||
|
||||
Server::Server()
|
||||
: m_filename{"/tmp/kak-" + int_to_str(getpid())}
|
||||
{
|
||||
m_filename = "/tmp/kak-" + int_to_str(getpid());
|
||||
|
||||
int listen_sock = socket(AF_UNIX, SOCK_STREAM, 0);
|
||||
fcntl(listen_sock, F_SETFD, FD_CLOEXEC);
|
||||
sockaddr_un addr;
|
||||
|
|
Loading…
Reference in New Issue
Block a user