New PVS studio scan | Haiku Project


PVS studio has just published a series of 3 articles looking over errors and bugs they identified in our sourcecode. PVS is a code static analysis tool that identifies code likely to be incorrect.

This is a companion discussion topic for the original entry at


The bugs in software is the reality of software development and one should not be ashamed of it. The only difference is that some companies hide them while other organizations fix them. Such scans help Haiku to become much more stable OS, which is happening especially in recent Haiku history.


Agreed, additionally some issues are only potential issues (aka possible false positives).
Redundant checks or “always true conditionals” were already optimized by the compiler, it’s important not to add new bugs when fixing these…