Dead store best practices

Hi everyone,

I’m in the process of finishing my first iOS app using oF. Everything is pretty much ready to go and tested but I’m not sure about something.

When running Xcode’s Analyze function, I come up with a bunch of Dead Store results, Logic errors and and Memory core errors, all related to the openFrameworks static lib itself, not to my code. Here’s an example:

/…/libs/openFrameworks/3d/ofMesh.cpp:2088:9: Value stored to ‘vertOffset’ is never read

What would be the best way to deal with this? Should I remove the redundant variables and faulty references or leave things as they are?


1 Like