summaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
Diffstat (limited to 'unittest')
-rw-r--r--unittest/mytap/t/basic-t.c2
-rw-r--r--unittest/mytap/tap.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/unittest/mytap/t/basic-t.c b/unittest/mytap/t/basic-t.c
index bf4c1a9a664..16928509e8c 100644
--- a/unittest/mytap/t/basic-t.c
+++ b/unittest/mytap/t/basic-t.c
@@ -7,7 +7,7 @@
int main() {
plan(5);
ok(1 == 1, "testing basic functions");
- ok(2 == 2, "");
+ ok(2 == 2, " ");
ok(3 == 3, NULL);
if (1 == 1)
skip(2, "Sensa fragoli");
diff --git a/unittest/mytap/tap.c b/unittest/mytap/tap.c
index 29dc765950f..e3a967ceb79 100644
--- a/unittest/mytap/tap.c
+++ b/unittest/mytap/tap.c
@@ -235,6 +235,7 @@ skip(int how_many, char const *const fmt, ...)
while (how_many-- > 0)
{
va_list ap;
+ memset((char*) &ap, 0, sizeof(ap)); /* Keep compiler happy */
vemit_tap(1, NULL, ap);
emit_dir("skip", reason);
emit_endl();