Skip to content

Commit 904aaef

Browse files
committed
Avoid casting int to bool
Using clang-tidy modernize-use-bool-literals
1 parent 851c081 commit 904aaef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/spatialite/qgsspatialiteprovider.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3687,7 +3687,7 @@ QSet<QVariant> QgsSpatiaLiteProvider::uniqueValues( int index, int limit ) const
36873687
return uniqueValues;
36883688
}
36893689

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

0 commit comments

Comments
 (0)