Missing NULL pointer init in tap.c
[babeltrace.git] / tests / lib / tap.c
index d41a75185fbb6cb38fe498e612b762891fccc3a3..86c89a23b2a77b8ba1b88652b55e8b40da0bba82 100644 (file)
@@ -24,6 +24,7 @@
  * SUCH DAMAGE.
  */
 
+#define _GNU_SOURCE
 #include <ctype.h>
 #include <stdarg.h>
 #include <stdio.h>
@@ -293,7 +294,7 @@ int
 skip(unsigned int n, char *fmt, ...)
 {
        va_list ap;
-       char *skip_msg;
+       char *skip_msg = NULL;
 
        LOCK;
 
This page took 0.023818 seconds and 4 git commands to generate.