Fix msvc warnings
This commit is contained in:
parent
10e60acf34
commit
8377ebb0e1
|
@ -542,15 +542,15 @@ void IMAGE::EfxFilter_SkipCenter( IMAGE* aInImg, IMAGE_FILTER aFilterType, unsig
|
|||
{
|
||||
int yc = iy - yCenter;
|
||||
|
||||
yc = yc * yc;
|
||||
unsigned int ycsq = yc * yc;
|
||||
|
||||
for( size_t ix = 0; ix < m_width; ix++ )
|
||||
{
|
||||
int xc = ix - xCenter;
|
||||
|
||||
xc = xc * xc;
|
||||
unsigned int xcsq = xc * xc;
|
||||
|
||||
if( ( xc + yc ) < radiusSquared )
|
||||
if( ( xcsq + ycsq ) < radiusSquared )
|
||||
{
|
||||
const unsigned int offset = ix + iy * m_width;
|
||||
|
||||
|
|
|
@ -1053,8 +1053,6 @@ int NODE::FindLinesBetweenJoints( const JOINT& aA, const JOINT& aB, std::vector<
|
|||
|
||||
void NODE::FixupVirtualVias()
|
||||
{
|
||||
int n;
|
||||
|
||||
std::vector<VVIA*> vvias;
|
||||
|
||||
for( auto& joint : m_joints )
|
||||
|
|
Loading…
Reference in New Issue