Useless use of a variable in void context