From cdb70b05d26a3f772d757b1100ffd4bc76b58476 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Fri, 30 Mar 2012 11:25:51 -0400 Subject: [PATCH] Cleanups --- src/accounts/lastfm/LastFmAccount.cpp | 1 + src/accounts/lastfm/lastfmplugin.h | 1 - src/tomahawkapp.h | 4 ---- 3 files changed, 1 insertion(+), 5 deletions(-) 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;