.gitignore: add some more IDE / tools related file
[babeltrace.git] / tests / utils / tap / tap.c
index e11dff4fc442fdb40b101ab26e42edfb11707836..5fa9482b25f369ece77d338444a5da46bdec0391 100644 (file)
@@ -44,12 +44,12 @@ static void _cleanup(void);
 
 #ifdef __MINGW32__
 static inline
-void flockfile (FILE * filehandle) {
+void flockfile (FILE * filehandle __attribute__((unused))) {
        return;
 }
 
 static inline
-void funlockfile(FILE * filehandle) {
+void funlockfile(FILE * filehandle __attribute__((unused))) {
        return;
 }
 #endif
@@ -318,7 +318,7 @@ skip(unsigned int n, const char *fmt, ...)
        LOCK;
 
        va_start(ap, fmt);
-       if (asprintf(&skip_msg, fmt, ap) == -1) {
+       if (vasprintf(&skip_msg, fmt, ap) == -1) {
                skip_msg = NULL;
        }
        va_end(ap);
This page took 0.025455 seconds and 4 git commands to generate.