Example 4. Checking a pointer for NULL only after it had been used
"successfully compiled (code \"%p\") (size \"%u\")\n",
PVS-Studio diagnostic message: V595 The '* jitp' pointer was utilized before it was verified against nullptr. Check lines: 547, 549. compiler.cpp 547
By the way, using a pointer before checking it is a wide-spread error. This was one more example of this kind.
Created attachment 582111 [details] [diff] [review]
False positive/nit: finishThisUp returns Okay only iff *jitp is non-null.
Comment on attachment 582111 [details] [diff] [review]
Gah hit wrong button.