Additional fix for issue 9679 - see 'redundant storage class'
Check redundant/conflicting storage class in foreach statement
Fix the error messages format