another hint for clang static analysis.

This commit is contained in:
Robin Gareus 2015-09-06 10:42:58 +02:00
parent 788234e317
commit f5f11158aa

View file

@ -273,6 +273,7 @@ inline static void gdither_innner_loop_fp(const GDitherType dt,
ts[channel] = r; ts[channel] = r;
break; break;
case GDitherShaped: case GDitherShaped:
assert (ss);
/* Save raw value for error calculations */ /* Save raw value for error calculations */
ideal = tmp; ideal = tmp;