diff --git a/src/accounts/lastfm/LastFmAccount.cpp b/src/accounts/lastfm/LastFmAccount.cpp
index 9ceffdce1..7e4ac519f 100644
--- a/src/accounts/lastfm/LastFmAccount.cpp
+++ b/src/accounts/lastfm/LastFmAccount.cpp
@@ -270,6 +270,7 @@ LastFmAccount::hookupResolver()
     const Attica::Content res = AtticaManager::instance()->resolverForId( "lastfm" );
     const AtticaManager::ResolverState state = AtticaManager::instance()->resolverState( res );
     Q_ASSERT( state == AtticaManager::Installed );
+    Q_UNUSED( state );
 
     const AtticaManager::Resolver data = AtticaManager::instance()->resolverData( res.id() );
 
diff --git a/src/accounts/lastfm/lastfmplugin.h b/src/accounts/lastfm/lastfmplugin.h
index 00b133a58..164b0d51d 100644
--- a/src/accounts/lastfm/lastfmplugin.h
+++ b/src/accounts/lastfm/lastfmplugin.h
@@ -95,4 +95,3 @@ private:
 
 #endif // LASTFMPLUGIN_H
 
-class A;
diff --git a/src/tomahawkapp.h b/src/tomahawkapp.h
index ade0e72d8..24f2acba8 100644
--- a/src/tomahawkapp.h
+++ b/src/tomahawkapp.h
@@ -151,7 +151,3 @@ Q_DECLARE_METATYPE( PairList )
 
 #endif // TOMAHAWKAPP_H
 
-
-struct A;
-
-struct A;