]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Remove unused variables detected by Clang 4.2.
authorPeter Powell <petpow@saberuk.com>
Thu, 31 Jan 2013 11:37:52 +0000 (11:37 +0000)
committerPeter Powell <petpow@saberuk.com>
Fri, 1 Feb 2013 11:47:39 +0000 (11:47 +0000)
src/modules/m_blockcolor.cpp
src/modules/m_httpd_acl.cpp
src/modules/m_spanningtree/main.cpp
src/modules/m_spanningtree/protocolinterface.h
src/modules/m_stripcolor.cpp

index d2558285017acd603fa4ba3b39a030ba268e2f3d..3cc01b4c05bcc842f98f121e41da040ec5b366fa 100644 (file)
@@ -35,7 +35,6 @@ class BlockColor : public SimpleChannelModeHandler
 
 class ModuleBlockColor : public Module
 {
-       bool AllowChanOps;
        BlockColor bc;
  public:
 
index ba8d140637e7cd68990bc6262a82cd972c30eaa9..2694402bdea3f52049b064a5c450ba91bda9d515 100644 (file)
@@ -45,7 +45,6 @@ class ModuleHTTPAccessList : public Module
 {
 
        std::string stylesheet;
-       bool changed;
        std::vector<HTTPACL> acl_list;
 
  public:
index ffc466a82758d9c8e64774e785713a744bb0bbb0..e7892526e4a6027592209f90ebe657cffe64a57c 100644 (file)
@@ -83,7 +83,7 @@ void ModuleSpanningTree::init()
        ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
 
        delete ServerInstance->PI;
-       ServerInstance->PI = new SpanningTreeProtocolInterface(this, Utils);
+       ServerInstance->PI = new SpanningTreeProtocolInterface(Utils);
        loopCall = false;
 
        // update our local user count
index 234b7bbf65e8bae59b9e1c4fc0016b855621d700..297366893d3f86c191d547dafa0a39533586da32 100644 (file)
@@ -26,10 +26,9 @@ class ModuleSpanningTree;
 class SpanningTreeProtocolInterface : public ProtocolInterface
 {
        SpanningTreeUtilities* Utils;
-       ModuleSpanningTree* Module;
        void SendChannel(Channel* target, char status, const std::string &text);
  public:
-       SpanningTreeProtocolInterface(ModuleSpanningTree* mod, SpanningTreeUtilities* util) : Utils(util), Module(mod) { }
+       SpanningTreeProtocolInterface(SpanningTreeUtilities* util) : Utils(util) { }
        virtual ~SpanningTreeProtocolInterface() { }
 
        virtual bool SendEncapsulatedData(const parameterlist &encap);
index 83ff1a5f39532c7b4446be02ef6db1e4344d3c19..f1504edaf329a6bf270c4441742a7a4eddb7a8bd 100644 (file)
@@ -42,7 +42,6 @@ class UserStripColor : public SimpleUserModeHandler
 
 class ModuleStripColor : public Module
 {
-       bool AllowChanOps;
        ChannelStripColor csc;
        UserStripColor usc;