Skip to content
Snippets Groups Projects
Commit 772589f9 authored by Andrea Zoli's avatar Andrea Zoli
Browse files

Remove pedantic warnings.

parent 8769d7ac
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ public:
~MemoryBuffer();
/// Write property of char** buffer.
void setbuffer( char* _newVal) throw(PacketException*);;
void setbuffer( char* _newVal) throw(PacketException*);
void setbuffer( char* _newVal, dword index) throw(PacketException*);
......
......@@ -147,7 +147,7 @@ bool InputTextFile::open(char** parameters) throw(PacketExceptionIO*)
throw e;
}
};
}
void InputTextFile::close() throw(PacketExceptionIO*)
......@@ -155,7 +155,7 @@ void InputTextFile::close() throw(PacketExceptionIO*)
file.close();
eof = file.isEOF();
closed = file.isClosed();
};
}
char* InputTextFile::getLine() throw(PacketExceptionIO*)
......
......@@ -25,7 +25,7 @@ PacketDataField::PacketDataField() : PartOfPacket("Packet Data Field")
dataFieldHeader = (DataFieldHeader*) new DataFieldHeader();
tail = new PartOfPacket();
sourceDataField = 0;
};
}
PacketDataField::~PacketDataField()
......
......@@ -588,7 +588,7 @@ ByteStreamPtr PartOfPacket::generateStream(bool bigendian)
if(posbit < 16)
outputstream->setWord(posword, w);
return outputstream;
};
}
bool PartOfPacket::setOutputStream(ByteStreamPtr os, dword first)
......@@ -607,7 +607,7 @@ word PartOfPacket::getFieldValue(word index)
}
return 0;
};
}
void PartOfPacket::setFieldValue(word index, word value)
{
......
......@@ -40,7 +40,7 @@ SocketServer::SocketServer (bool bigendian, int port ) : Socket(bigendian)
SocketServer::SocketServer (bool bigendian) : Socket(bigendian)
{
};
}
SocketServer::~SocketServer()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment