Fixed *Value stored is never read* warning found by clang.