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