summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-05-22 00:01:14 +0100
committerJose Fonseca <jfonseca@vmware.com>2015-05-27 10:10:17 +0100
commit265d2fd0c890cd69dc3a4aa0414c9077460e8c79 (patch)
tree63cc7619d9662805daa817be4ff332eb987c4c38 /gui
parent318743f07ee2e1aba2f2c59c81288c9a901a5598 (diff)
retrace,gui: Optimize arrays don't have end-marker.
Diffstat (limited to 'gui')
-rw-r--r--gui/qubjson.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/gui/qubjson.cpp b/gui/qubjson.cpp
index cc877d24..90bf77e4 100644
--- a/gui/qubjson.cpp
+++ b/gui/qubjson.cpp
@@ -161,9 +161,6 @@ readArray(QDataStream &stream)
int read = stream.readRawData(array.data(), count);
Q_ASSERT(read == count);
Q_UNUSED(read);
- marker = readMarker(stream);
- Q_ASSERT(marker == MARKER_ARRAY_END);
- Q_UNUSED(marker);
return array;
} else {
Q_ASSERT(marker != MARKER_COUNT);