Remove some dead stores

Silences some warnings when compiling with all warnings on.