Commit 99f407f2 authored by Andrea Zoli's avatar Andrea Zoli
Browse files

Remove unused variable warning.

parent c1f35728
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -222,7 +222,7 @@ byte PacketLib::ByteStream::getByte( dword byteNumber)
long PacketLib::ByteStream::getValue(dword start, word dim)
long PacketLib::ByteStream::getValue(dword start, word dim)
{
{
    DEMORET0;
    DEMORET0;
    byte b1, b2;
    byte b1, b2 = 0;
	
	
	if(start >= byteInTheStream)
	if(start >= byteInTheStream)
		throw PacketException("PacketLib::ByteStream::getValue() start greater than the size of the ByteStream", 0);
		throw PacketException("PacketLib::ByteStream::getValue() start greater than the size of the ByteStream", 0);