another hint for clang static analysis.
authorRobin Gareus <robin@gareus.org>
Sun, 6 Sep 2015 08:42:58 +0000 (10:42 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 6 Sep 2015 08:42:58 +0000 (10:42 +0200)
libs/audiographer/private/gdither/gdither.cc

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