mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
tcp: work around compiler warnings
This commit is contained in:
parent
576bbb4fd8
commit
8dcb565221
2 changed files with 4 additions and 0 deletions
|
@ -231,6 +231,8 @@ gst_tcp_client_src_create (GstPushSrc * psrc, GstBuffer ** outbuf)
|
||||||
} else {
|
} else {
|
||||||
/* Connection closed */
|
/* Connection closed */
|
||||||
*outbuf = NULL;
|
*outbuf = NULL;
|
||||||
|
data = NULL;
|
||||||
|
read = 0;
|
||||||
rret = 0;
|
rret = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -227,6 +227,8 @@ gst_tcp_server_src_create (GstPushSrc * psrc, GstBuffer ** outbuf)
|
||||||
/* Connection closed */
|
/* Connection closed */
|
||||||
rret = 0;
|
rret = 0;
|
||||||
*outbuf = NULL;
|
*outbuf = NULL;
|
||||||
|
data = NULL;
|
||||||
|
read = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rret == 0) {
|
if (rret == 0) {
|
||||||
|
|
Loading…
Reference in a new issue