Fix: warning, may be used uninitialized
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 9 Oct 2015 21:16:37 +0000 (17:16 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Fri, 16 Oct 2015 19:40:32 +0000 (15:40 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
formats/lttng-live/lttng-live-comm.c

index d26d83eb4bbb01a9d383585d57fab2761543fb4a..e339add6e6981a767e403661440c151ec48ba02a 100644 (file)
@@ -1118,7 +1118,7 @@ int handle_seek_position(size_t index, int whence,
                struct ctf_stream_pos *pos,
                struct ctf_file_stream *file_stream)
 {
-       int ret;
+       int ret = 0;
 
        switch (whence) {
        case SEEK_CUR:
This page took 0.024364 seconds and 4 git commands to generate.