zmqsend: Initialize ret to 0

Fixes CID1396857.

(cherry picked from commit d903b4e3ad)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Timothy Gu 2016-12-05 10:04:57 -08:00 committed by Michael Niedermayer
parent ac0cdddc78
commit cdea949fcf
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ int main(int argc, char **argv)
{
AVBPrint src;
char c, *src_buf, *recv_buf;
int recv_buf_size, ret;
int recv_buf_size, ret = 0;
void *zmq_ctx, *socket;
const char *bind_address = "tcp://localhost:5555";
const char *infilename = NULL;