guard warning

svn path=/trunk/KDE/kdebase/workspace/; revision=843388
This commit is contained in:
Laurent Montel 2008-08-07 06:50:39 +00:00
parent 39fd589c4d
commit 1c11825eea
2 changed files with 4 additions and 0 deletions

View file

@ -249,7 +249,9 @@ Application::Application( )
KSharedConfig::Ptr config = KGlobal::config(); KSharedConfig::Ptr config = KGlobal::config();
if (!config->isImmutable() && args->isSet("lock")) if (!config->isImmutable() && args->isSet("lock"))
{ {
#ifdef __GNUC__
#warning this shouldn not be necessary #warning this shouldn not be necessary
#endif
//config->setReadOnly(true); //config->setReadOnly(true);
config->reparseConfiguration(); config->reparseConfiguration();
} }

View file

@ -149,7 +149,9 @@ NET::WindowType Toplevel::windowType( bool direct, int supported_types ) const
if( direct ) if( direct )
return wt; return wt;
const Client* cl = dynamic_cast< const Client* >( this ); const Client* cl = dynamic_cast< const Client* >( this );
#ifdef __GNUC__
#warning TODO #warning TODO
#endif
// NET::WindowType wt2 = rules()->checkType( wt ); // NET::WindowType wt2 = rules()->checkType( wt );
NET::WindowType wt2 = wt; NET::WindowType wt2 = wt;
if( wt != wt2 ) if( wt != wt2 )