mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Fix LASSERT correction
Found bx cppcheck: (style) Assignment of function parameter has no effect outside the function.
This commit is contained in:
parent
d3b5260f45
commit
fd5cfc5101
@ -28,10 +28,10 @@ void Dimension::operator+=(Dimension const & dim)
|
||||
|
||||
Point::Point(int x, int y) : x_(x), y_(y)
|
||||
{
|
||||
LASSERT(x > -1000000, x = -1000000);
|
||||
LASSERT(x < 1000000, x = 1000000);
|
||||
LASSERT(y > -1000000, y = -1000000);
|
||||
LASSERT(y < 1000000, y = 1000000);
|
||||
LASSERT(x > -1000000, x_ = -1000000);
|
||||
LASSERT(x < 1000000, x_ = 1000000);
|
||||
LASSERT(y > -1000000, y_ = -1000000);
|
||||
LASSERT(y < 1000000, y_ = 1000000);
|
||||
}
|
||||
|
||||
} // namespace lyx
|
||||
|
Loading…
Reference in New Issue
Block a user