Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from OSGeo:master #167

Merged
merged 8 commits into from
Jan 21, 2025
Prev Previous commit
SQLite: fix cppcheck issue
rouault committed Jan 21, 2025
commit 5212909c0b89b59d21026c137be76fc0ecf96293
5 changes: 4 additions & 1 deletion ogr/ogrsf_frmts/sqlite/ogrsqlitedatasource.cpp
Original file line number Diff line number Diff line change
@@ -4311,7 +4311,10 @@ OGRErr OGRSQLiteBaseDataSource::ReleaseSavepoint(const std::string &osName)
{
m_aosSavepoints.pop_back();
}
m_aosSavepoints.pop_back();
if (!m_aosSavepoints.empty()) // should always be true
{
m_aosSavepoints.pop_back();
}
}
}
return eErr;