badBitmaskCheck
Bad usage of bitmap operator
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.
Bad usage of bitmap operator
Storing getchar() return value in char variable and then comparing with EOF.
Misuse of ++ operator
Comparison of a boolean value using relational operator (e.g. < ,>, etc)
Conversion of char literal to bool always evaluates to true.
Incorrect string boolean operator
memset() called to fill 0 bytes.
Found function call inside sizeof().
Using 'sizeof' on array given as function argument returns size of a pointer.
Suspicious condition. The result of find() is an iterator
Return value ignored. Elements remain in container.
printf: invalid parameter position
Wrong parameter for va_start()
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.