Commit e7a06af8 authored by Jan Kiszka's avatar Jan Kiszka Committed by Luiz Capitulino
Browse files

Silence compiler warning in json test case



This avoids

    error: zero-length gnu_printf format string

Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: default avatarLuiz Capitulino <lcapitulino@redhat.com>
parent 7af72c24
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -639,7 +639,9 @@ END_TEST

START_TEST(empty_input)
{
    QObject *obj = qobject_from_json("");
    const char *empty = "";

    QObject *obj = qobject_from_json(empty);
    fail_unless(obj == NULL);
}
END_TEST