fix V595 The 'amodule' pointer was utilized before it was verified against nullptr
fix V595 The 'method' pointer was utilized before it was verified against nullptr. Check lines: 302, 303.
fix V547 Expression 'index >= 0' is always true. Unsigned type value is always >= 0.
fix V547 Expression 'index >= 0' is always true. Unsigned type value is always >= 0.
fix V547 Expression 'ccw->ref_count >= 0' is always true. Unsigned type value is always >= 0.