Fixed most -Wextra warnings on Clang 3.0 and GCC 4.6.