Commit bc2bb57b authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix for gcc unitialized warnings.

parent aa9f0284
......@@ -203,7 +203,7 @@ int streamInqFiletype(int streamID)
int getByteswap(int byteorder)
{
int byteswap;
int byteswap = -1;
switch (byteorder)
{
......@@ -213,7 +213,6 @@ int getByteswap(int byteorder)
byteswap = (HOST_ENDIANNESS != byteorder);
break;
case -1:
byteswap = -1;
break;
default:
Error("unexpected byteorder %d query!", byteorder);
......
Supports Markdown
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