Fix (and suppress) some static code analysis warnings in blueprint