Warnings

Fixes a few compiler warnings
You're saying you're changing the value, but you're not.