[WIP] minor / cosmetics

parent b4a8df72
This diff is collapsed.
......@@ -269,7 +269,7 @@ const char * Camera::_xlatPcoCode2Str(int code, enumTblXlatCode2Str table, int &
#define BUFFER_LEN 256
#define BUFFVERSION_LEN ( MSG8K )
stcPcoData::stcPcoData(Camera *cam){
stcPcoData::stcPcoData(){
char *ptr, *ptrMax;
int i;
......@@ -277,8 +277,6 @@ stcPcoData::stcPcoData(Camera *cam){
memset(this, 0, sizeof(struct stcPcoData));
m_cam = cam;
version = new char[BUFFVERSION_LEN];
if(!version)
{
......
......@@ -49,7 +49,7 @@ Camera::Camera(const char *params) :
if(m_tmpLog == NULL)
throw LIMA_HW_EXC(Error, "m_tmpLog > creation error");
m_pcoData =new stcPcoData(this);
m_pcoData =new stcPcoData();
if(m_pcoData == NULL)
throw LIMA_HW_EXC(Error, "m_pcoData > creation error");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment