Removed unused variable and strict aliasing warnings in GCC.