Commit cdea949f authored by Timothy Gu's avatar Timothy Gu Committed by Michael Niedermayer

zmqsend: Initialize ret to 0

Fixes CID1396857.

(cherry picked from commit d903b4e3)
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent ac0cdddc
...@@ -53,7 +53,7 @@ int main(int argc, char **argv) ...@@ -53,7 +53,7 @@ int main(int argc, char **argv)
{ {
AVBPrint src; AVBPrint src;
char c, *src_buf, *recv_buf; char c, *src_buf, *recv_buf;
int recv_buf_size, ret; int recv_buf_size, ret = 0;
void *zmq_ctx, *socket; void *zmq_ctx, *socket;
const char *bind_address = "tcp://localhost:5555"; const char *bind_address = "tcp://localhost:5555";
const char *infilename = NULL; const char *infilename = NULL;
......
Markdown is supported
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