diff --git a/libraries/networking/src/PacketList.cpp b/libraries/networking/src/PacketList.cpp index af1125310a..2e452db133 100644 --- a/libraries/networking/src/PacketList.cpp +++ b/libraries/networking/src/PacketList.cpp @@ -30,6 +30,8 @@ template std::unique_ptr PacketList::createPacketWithExtended qDebug() << "Could not write extendedHeader in PacketList::createPacketWithExtendedHeader" << "- make sure that _extendedHeader is not larger than the payload capacity."; } + + return packet; } template qint64 PacketList::writeData(const char* data, qint64 maxSize) {