libmd: Raise WARNS to 2 and fix a warning.