Revert "Fix compiler warning"

This reverts commit 3bcbfacc5c2961d2ad9271165c63fbdcc90bf1d4.