Issue #3290820 by Xiaohua Guan, yas: Refactor the source code based on Drupal best practices (2) (Unused variable)
Closes #3290820