aboutsummaryrefslogtreecommitdiff
path: root/src/Serialize.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Serialize.cpp')
-rw-r--r--src/Serialize.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Serialize.cpp b/src/Serialize.cpp
index 443e935..c07a5db 100644
--- a/src/Serialize.cpp
+++ b/src/Serialize.cpp
@@ -12,7 +12,6 @@ int ReadBool(int fd, int count, bool *b)
unsigned char buf[1];
if (read(fd, buf, 1) != 1) {
- STUB_FUNCTION;
}
*b = (buf[0] != 0) ? true : false;
@@ -29,7 +28,6 @@ int ReadShort(int fd, int count, short *s)
unsigned char buf[2];
if (read(fd, buf, 2) != 2) {
- STUB_FUNCTION;
}
*s = (short)((buf[0] << 8) | buf[1]);
@@ -46,7 +44,6 @@ int ReadInt(int fd, int count, int *s)
unsigned char buf[4];
if (read(fd, buf, 4) != 4) {
- STUB_FUNCTION;
}
*s = (int)((buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | buf[3]);