Fix: initialize getline linesize argument to 0
[babeltrace.git] / converter / babeltrace-log.c
index 210bd09152a11b03907300c4c9b807abbad77983..bdb01f16f4b6e7d18f2f642ba3c3c5224072177a 100644 (file)
@@ -316,7 +316,7 @@ void trace_text(FILE *input, int output)
        struct ctf_stream_pos pos;
        ssize_t len;
        char *line = NULL, *nl;
-       size_t linesize;
+       size_t linesize = 0;
        int ret;
 
        memset(&pos, 0, sizeof(pos));
This page took 0.022689 seconds and 4 git commands to generate.