Fix: warning, may be used uninitialized
[babeltrace.git] / formats / lttng-live / lttng-live-comm.c
index b87e2f9d159f263b71ca8c9f5081a14d859487df..91e344c5a5d3ceef58655e77f965acb32328c7ee 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.023016 seconds and 4 git commands to generate.