avoid if() statement compiler warning
svn path=/trunk/KDE/kdebase/workspace/; revision=560604
This commit is contained in:
parent
03fedc56dd
commit
c770bb5d22
1 changed files with 3 additions and 2 deletions
|
@ -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…
Reference in a new issue