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

Remove unused variable warning.

parent c1f35728
No related branches found
No related tags found
No related merge requests found
...@@ -222,7 +222,7 @@ byte PacketLib::ByteStream::getByte( dword byteNumber) ...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment