Fixes static analyzer issues with value being written to offset but never read