Revert "Disable the new -Wunused-but-set-variable that was added in gcc 4.6.0"

This reverts commit f38fec23e8610321a6bce3aba3d43a74b8e4b367.