Fix: warning, may be used uninitialized
[babeltrace.git] / 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.022608 seconds and 4 git commands to generate.