Cleanup digest source.

Removes an unnecessary cast and variable initialization.