mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
Static analyzer says this condition is never true
git-svn-id: https://svn.eduke32.com/eduke32@7057 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
15008d7aec
commit
bcb1374391
1 changed files with 2 additions and 3 deletions
|
@ -1628,9 +1628,8 @@ static int get_screen_coords(const vec2_t &p1, const vec2_t &p2,
|
|||
|
||||
sx2 = xdimen-1;
|
||||
|
||||
int32_t tempint = (p1.y - p1.x) + (p2.x - p2.y);
|
||||
if (tempint == 0)
|
||||
return 0;
|
||||
int32_t const tempint = (p1.y - p1.x) + (p2.x - p2.y);
|
||||
|
||||
sy2 = p1.y + scale(p2.y-p1.y, p1.y-p1.x, tempint);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue