- Turned on warning level 4 just to see what it would produce: a lot of
warnings. At first, I was going to try and clean them all up. Then I decided that was a worthless cause and went about just acting on the ones that might actually be helpful: C4189 (local variable is initialized but not referenced) C4702 (unreachable code) C4512 (assignment operator could not be generated) SVN r420 (trunk)
This commit is contained in:
parent
c8d07f3883
commit
e1bd63e876
47 changed files with 131 additions and 128 deletions
|
|
@ -116,6 +116,8 @@ class FNodeBuilder
|
|||
assert (y <= MaxY);
|
||||
return (unsigned(x - MinX) >> BLOCK_SHIFT) + (unsigned(y - MinY) >> BLOCK_SHIFT) * BlocksWide;
|
||||
}
|
||||
|
||||
FVertexMap &operator= (const FVertexMap &) { return *this; }
|
||||
};
|
||||
|
||||
friend class FVertexMap;
|
||||
|
|
@ -233,6 +235,8 @@ private:
|
|||
double InterceptVector (const node_t &splitter, const FPrivSeg &seg);
|
||||
|
||||
void PrintSet (int l, DWORD set);
|
||||
|
||||
FNodeBuilder &operator= (const FNodeBuilder &) { return *this; }
|
||||
};
|
||||
|
||||
// Points within this distance of a line will be considered on the line.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue