This fails the tests because it eliminates the NULL check for pNumericRepresentation which was handled in ComponentInfo_GetDWORDValue. It should probably also not be assigned if ComponentInfo_GetDWORDValue fails.