Skip to content

Commit

Permalink
Fix possible-dangling reference warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 6, 2024
1 parent 886074c commit 893da91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/oracle/ocispatial/qsql_ocispatial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1961,7 +1961,7 @@ bool QOCISpatialCols::execBatch( QOCISpatialResultPrivate *d, QVector<QVariant>
// we may now populate column with data
for ( uint row = 0; row < col.recordCount; ++row )
{
const QVariant &val = boundValues.at( i ).toList().at( static_cast<int>( row ) );
const QVariant val = boundValues.at( i ).toList().at( static_cast<int>( row ) );

if ( val.isNull() )
{
Expand Down

0 comments on commit 893da91

Please sign in to comment.