revise resultAdd to local variable

heidfeld
201312121903