H
HP
Hi guys
i wana remove this warning which i am getting during my
codcomilation.
the warning is -
Possible use of null pointer 'PnoSytGenericTest::_response' in
left argument to operator '->'
and the part of the code related to this warning-
void PnoSytGenericTest::initResponse()
{
ENTER_METHOD("SYT_TEST_MGR", PnoSytGenericTest::initResponse);
_response = new AcdMessage();
_response->header(_data->header());
(_response->header()).cmdId[0].cmdId = Acd::CMD_RSP;
RETURN_METHOD("SYT_TEST_MGR");
}
help me out friends...
i wana remove this warning which i am getting during my
codcomilation.
the warning is -
Possible use of null pointer 'PnoSytGenericTest::_response' in
left argument to operator '->'
and the part of the code related to this warning-
void PnoSytGenericTest::initResponse()
{
ENTER_METHOD("SYT_TEST_MGR", PnoSytGenericTest::initResponse);
_response = new AcdMessage();
_response->header(_data->header());
(_response->header()).cmdId[0].cmdId = Acd::CMD_RSP;
RETURN_METHOD("SYT_TEST_MGR");
}
help me out friends...