mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
rtspconnection: Fix uninitialized variable warning when compiling with pre-2.59.1 GLib
gstrtspconnection.c: In function ‘writev_bytes’: gstrtspconnection.c:1348:10: error: ‘res’ may be used uninitialized in this function [-Werror=maybe-uninitialized] return res; ^
This commit is contained in:
parent
a86fc3da46
commit
05f0fe79a2
1 changed files with 1 additions and 1 deletions
|
@ -1331,7 +1331,7 @@ writev_bytes (GOutputStream * stream, GOutputVector * vectors, gint n_vectors,
|
|||
gsize _bytes_written = 0;
|
||||
guint written;
|
||||
gint i;
|
||||
GstRTSPResult res;
|
||||
GstRTSPResult res = GST_RTSP_OK;
|
||||
|
||||
for (i = 0; i < n_vectors; i++) {
|
||||
written = 0;
|
||||
|
|
Loading…
Reference in a new issue