libva/libva-fix-rpmlint-error-no-return-in-non-void.patch

14 lines
514 B
Diff

diff --git a/test/v4l_h264/decode/TCPSocketServer.cpp b/test/v4l_h264/decode/TCPSocketServer.cpp
index ad33d77..287bf27 100644
--- a/test/v4l_h264/decode/TCPSocketServer.cpp
+++ b/test/v4l_h264/decode/TCPSocketServer.cpp
@@ -150,7 +150,7 @@ ssize_t TCPSocketServer::send(const void *buffer, const int &bufferLen) throw (s
ssize_t TCPSocketServer::send(const string &message) throw (std::runtime_error)
{
- send(message.c_str(), message.length());
+ return send(message.c_str(), message.length());
}