refs #9549. Change warning conditions
refs #9549. Unused var removed.
Merge branch 'feature/9549_stitch1d_defects' into develop