Fixed source analysis warnings