Explicitly show unused variables rather than assigning to self.

This fixes compiler warning -Wself-assign