Update result.cpp

pointer to null