summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-10-23 23:42:18 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-10-23 23:42:18 +0800
commitdc9af9b8445df9e37e6be34b0f26278bf566c630 (patch)
tree8e9d3cb8713b90dfd29c657d6415e2b79a8d20d8 /src
parent8ebf031b11bdeabb89da44c28d6dc3d0cc140572 (diff)
downloaddrunken-dc9af9b8445df9e37e6be34b0f26278bf566c630.tar.gz
drunken-dc9af9b8445df9e37e6be34b0f26278bf566c630.tar.bz2
Cleanup (static analysis)
Diffstat (limited to 'src')
-rw-r--r--src/drunken.cpp3
-rw-r--r--src/drunken.h4
2 files changed, 2 insertions, 5 deletions
diff --git a/src/drunken.cpp b/src/drunken.cpp
index 5831e30..faa05ed 100644
--- a/src/drunken.cpp
+++ b/src/drunken.cpp
@@ -106,7 +106,6 @@ DrunkenScreen::toggle ()
DrunkenScreen::DrunkenScreen (CompScreen *screen) :
PluginClassHandler <DrunkenScreen, CompScreen> (screen),
- screen (screen),
cScreen (CompositeScreen::get (screen)),
gScreen (GLScreen::get (screen)),
mEnabled (false)
@@ -138,4 +137,4 @@ DrunkenPluginVTable::init ()
return false;
return true;
-}
+} \ No newline at end of file
diff --git a/src/drunken.h b/src/drunken.h
index b0c15b0..a3f8a5a 100644
--- a/src/drunken.h
+++ b/src/drunken.h
@@ -8,7 +8,6 @@
class DrunkenScreen :
public PluginClassHandler <DrunkenScreen, CompScreen>,
- public ScreenInterface,
public CompositeScreenInterface,
public GLScreenInterface,
public DrunkenOptions
@@ -17,7 +16,6 @@ class DrunkenScreen :
DrunkenScreen (CompScreen *);
- CompScreen *screen;
CompositeScreen *cScreen;
GLScreen *gScreen;
@@ -77,4 +75,4 @@ class DrunkenPluginVTable :
public:
bool init ();
-};
+}; \ No newline at end of file