Skip to content

Commit

Permalink
STYLE: Removed double semicolon in C++ and OpenCL files
Browse files Browse the repository at this point in the history
Double semicolons can confuse new developers.
They can also confuse automated analysis tools.
  • Loading branch information
sananthanarayan authored and hjmjohnson committed Jan 24, 2025
1 parent 9e582fd commit 01b30b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Modules/Core/Common/src/itkBuildInformation.cxx.in
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ BuildInformation::GetValue(const MapKeyType & key)
{
return it->second.m_Value;
}
return {};;
return {};
}

const BuildInformation::MapValueDescriptionType
Expand All @@ -100,7 +100,7 @@ BuildInformation::GetDescription(const MapKeyType & key)
{
return it->second.m_Description;
}
return {};;
return {};
}

const std::vector< BuildInformation::MapKeyType >
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ __kernel void ComputeUpdate(__global const INPIXELTYPE *in, __global BUFPIXELTYP

// centralized derivatives, half directonal derivatives
float dx[3], dx_f, dx_b, delta, Cx, Cxd;
unsigned int tidx, tx, ty, tz;;
unsigned int tidx, tx, ty, tz;

// shared memory
__local float sm[BLOCK_SIZE+2][BLOCK_SIZE+2][BLOCK_SIZE+2];
Expand Down

0 comments on commit 01b30b6

Please sign in to comment.