Skip to content

Commit

Permalink
Remove some dead functions (Found with rc --find-dead-functions)!
Browse files Browse the repository at this point in the history
  • Loading branch information
Andersbakken committed Jul 30, 2018
1 parent a0aac2b commit 3801f3b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 297 deletions.
1 change: 0 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ set(RTAGS_SOURCES
ListSymbolsJob.cpp
Location.cpp
Preprocessor.cpp
ProcThread.cpp
Project.cpp
QueryJob.cpp
QueryMessage.cpp
Expand Down
237 changes: 0 additions & 237 deletions src/ProcThread.cpp

This file was deleted.

56 changes: 0 additions & 56 deletions src/ProcThread.h

This file was deleted.

3 changes: 0 additions & 3 deletions src/Server.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
class Match;
class CompletionThread;
class Connection;
class ErrorMessage;
class IndexDataMessage;
class QueryJob;
class LogOutputMessage;
Expand Down Expand Up @@ -159,7 +158,6 @@ class Server
void handleIndexMessage(const std::shared_ptr<IndexMessage> &message, const std::shared_ptr<Connection> &conn);
void handleIndexDataMessage(const std::shared_ptr<IndexDataMessage> &message, const std::shared_ptr<Connection> &conn);
void handleQueryMessage(const std::shared_ptr<QueryMessage> &message, const std::shared_ptr<Connection> &conn);
void handleErrorMessage(const std::shared_ptr<ErrorMessage> &message, const std::shared_ptr<Connection> &conn);
void handleLogOutputMessage(const std::shared_ptr<LogOutputMessage> &message, const std::shared_ptr<Connection> &conn);
void handleVisitFileMessage(const std::shared_ptr<VisitFileMessage> &message, const std::shared_ptr<Connection> &conn);

Expand Down Expand Up @@ -231,7 +229,6 @@ class Server
Set<std::shared_ptr<Connection> > mConnections;

Signal<std::function<void()> > mIndexDataMessageReceived;
friend void saveFileIds();
};
RCT_FLAGS(Server::Option);
RCT_FLAGS(Server::FileIdsFileFlag);
Expand Down

0 comments on commit 3801f3b

Please sign in to comment.