clang-tidy: Apply modernize-use-bool-literals (#6448)
... and remove never-executed code: This removes a condition that was always true and two statements guarded by conditions that were always false.
This commit is contained in:
@@ -219,7 +219,7 @@ QString AudioOss::probeDevice()
|
||||
if( QFileInfo( dev ).isWritable() == false )
|
||||
{
|
||||
int instance = -1;
|
||||
while( 1 )
|
||||
while( true )
|
||||
{
|
||||
dev = PATH_DEV_DSP + QString::number( ++instance );
|
||||
if( !QFileInfo( dev ).exists() )
|
||||
|
||||
Reference in New Issue
Block a user