messageTray: Don't use a member variable when we can use a local

Tiny cleanup.
messageTray: Remove an unused variable