Revert "Fixed compilation warnings under clang with -Wall -Wextra -pedantic"

This reverts commit 3e7309c303f57fb89bdd4f36e1cfb936b9118c7c.