[concept_check] "Shadowed variable warning" (refs #6738)
Concept: fix minor warning.
Added unused attribute for new versions of GCC