Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan5142 committed Feb 23, 2024
1 parent 589c5a8 commit eed7b54
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
9 changes: 5 additions & 4 deletions frmts/georaster/georaster_dataset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1357,10 +1357,11 @@ GDALDataset *GeoRasterDataset::Create(const char *pszFilename, int nXSize,

if (bGenStatsOptionsUsed && !poGRD->poGeoRaster->bGenStats)
{
CPLError(CE_Warning, CPLE_AppDefined,
"Some GENSTATS* options were used but GENSTATS is not set. "
"Statistics won't be computed, please set GENSTATS option to true "
"if you want to generate statistics");
CPLError(
CE_Warning, CPLE_AppDefined,
"Some GENSTATS* options were used but GENSTATS is not set. "
"Statistics won't be computed, please set GENSTATS option to true "
"if you want to generate statistics");
}

// -------------------------------------------------------------------
Expand Down
5 changes: 4 additions & 1 deletion frmts/georaster/oci_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1639,7 +1639,10 @@ bool CheckError(sword nStatus, OCIError *hError)
{
return false;
}
else if (nCode == 28002 || nCode == 28098) // password expires codes (ORA-28002, ORA-28098)
else if (
nCode == 28002 ||
nCode ==
28098) // password expires codes (ORA-28002, ORA-28098)
{
static bool bPasswordExpiredLogged = false;
if (!bPasswordExpiredLogged)
Expand Down

0 comments on commit eed7b54

Please sign in to comment.