Warning hunting cleanup in ValueTraits.cpp

s assigned but not used after assignment