assignIfError
Error prone
Informational
Mismatching assignment and comparison
C and C++ are really performant languages and can be very error-prone. We all had core dumps and made pointer arithmetic errors! Thankfully, Codiga has hundreds of static analysis rules to flag potential errors in your C/C++ code, automate code reviews and merge with confidence.
Mismatching assignment and comparison
Code not handled
Container is always empty
Redundant initialization. The initialized value is overwritten before it is read.
int result is returned as long value. If the return value is long to avoid loss of information
Non-standard character literal
We use cookies to improve your site experience, including analytics cookies to understand how you use our product and design better experiences. Please read our Cookie Policy.