You're right.  It looks like a bit of legacy code that never got deleted.