mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 03:40:04 +02:00
fixed uninitialized pointer
This commit is contained in:
parent
615d1b1f33
commit
c30c6bb883
@ -306,7 +306,7 @@ class slsReceiverTCPIPInterface : private virtual slsDetectorDefs {
|
|||||||
detectorType myDetectorType;
|
detectorType myDetectorType;
|
||||||
|
|
||||||
/** slsReceiverBase object */
|
/** slsReceiverBase object */
|
||||||
slsReceiverImplementation *receiver;
|
slsReceiverImplementation *receiver{nullptr};
|
||||||
|
|
||||||
/** Function List */
|
/** Function List */
|
||||||
int (slsReceiverTCPIPInterface::*flist[NUM_REC_FUNCTIONS])(sls::ServerInterface2& socket);
|
int (slsReceiverTCPIPInterface::*flist[NUM_REC_FUNCTIONS])(sls::ServerInterface2& socket);
|
||||||
|
@ -1906,7 +1906,6 @@ int slsReceiverTCPIPInterface::check_version_compatibility(sls::ServerInterface2
|
|||||||
ret = OK;
|
ret = OK;
|
||||||
memset(mess, 0, sizeof(mess));
|
memset(mess, 0, sizeof(mess));
|
||||||
int64_t arg = -1;
|
int64_t arg = -1;
|
||||||
std::cout << "<----------------- HEY\n";
|
|
||||||
// get args, return if socket crashed
|
// get args, return if socket crashed
|
||||||
if (socket.receiveArg(ret, mess, &arg, sizeof(arg)) == FAIL)
|
if (socket.receiveArg(ret, mess, &arg, sizeof(arg)) == FAIL)
|
||||||
return FAIL;
|
return FAIL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user