Static Analyser in Release Warnings

Running the static anayser on the JUCE DemoRunner in release mode is flagging up a few issues.

Annoyingly I think the:

../../../../modules/juce_audio_processors/processors/juce_AudioProcessor.cpp:360:5: warning: Value stored to 'success' is never read
    success &= disableNonMainBuses();
    ^          ~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

can only be silenced with a (void) success; statement.

I’m in the process of adding static analysis to our CI but I can’t separate the JUCE warnings from our own.

Thanks Ed, I think there’s two more though in the box2d module?
image

Yep, will get those sorted out too.

1 Like