fixes an analyzer warning where variableValue could be nil.