avoid if() statement compiler warning

svn path=/trunk/KDE/kdebase/workspace/; revision=560604
remotes/origin/Plasma/5.0
Dirk Mueller 20 years ago
parent 03fedc56dd
commit c770bb5d22
  1. 5
      data/update_window_settings.cpp

@ -120,8 +120,9 @@ void writeRules( KConfig& cfg )
cfg.writeEntry( "windowrole", ( const char* ) info->windowRole );
cfg.writeEntry( "windowrolematch", 1 );
}
if( info->windowType == static_cast< NET::WindowType >( -2 )) // undefined
; // all types
if( info->windowType == static_cast< NET::WindowType >( -2 )) { // undefined
// all types
}
if( info->windowType == NET::Unknown )
cfg.writeEntry( "types", (int)NET::NormalMask );
else

Loading…
Cancel
Save