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 904aaefee4e6defe32f86ba550c1edc131be85e1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/spatialite/qgsspatialiteprovider.cpp
@@ -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.
You can’t perform that action at this time.