Fix compiler warning by anonymizing enum; touch up indentation

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>