Skip to content
Permalink
Browse files
Avoid casting int to bool
Using clang-tidy modernize-use-bool-literals
  • Loading branch information
nyalldawson committed Sep 11, 2017
1 parent 851c081 commit 904aaef
Showing 1 changed file with 1 addition and 1 deletion.
@@ -3687,7 +3687,7 @@ QSet<QVariant> QgsSpatiaLiteProvider::uniqueValues( int index, int limit ) const
return uniqueValues;
}

while ( 1 )
while ( true )
{
// this one is an infinitive loop, intended to fetch any row
int ret = sqlite3_step( stmt );

0 comments on commit 904aaef

Please sign in to comment.