Updated the consumed analysis warnings to use a more standardized diagnostic.

Patch thanks to Christian Wailes!