Silence compiler warning in json test case
This avoids error: zero-length gnu_printf format string Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
parent
7af72c24ae
commit
e7a06af838
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user