Skip to content
Permalink
Browse files

Logical Operation && has no Impact on expression result .

Line 1746:  second operand of  '&&' operator has no impact on expression result. 
It looks a typo mistake.
  • Loading branch information...
jitendarKumar committed Nov 9, 2015
1 parent 4751b60 commit dd4828665c08c3443c673cf6535e7a50b5c7cd90
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gd_interpolation.c
@@ -1743,7 +1743,7 @@ gdImageRotateGeneric(gdImagePtr src, const float degrees, const int bgColor)

const gdFixed f_slop_y = f_sin;
const gdFixed f_slop_x = f_cos;
const gdFixed f_slop = f_slop_x > 0 && f_slop_x > 0 ?
const gdFixed f_slop = f_slop_x > 0 && f_slop_y > 0 ?
f_slop_x > f_slop_y ? gd_divfx(f_slop_y, f_slop_x) : gd_divfx(f_slop_x, f_slop_y)
: 0;

0 comments on commit dd48286

Please sign in to comment.
You can’t perform that action at this time.