Fix (or suppress) code analysis warnings