diff options
Diffstat (limited to 'src/sq')
-rw-r--r-- | src/sq/test_sq.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sq/test_sq.c b/src/sq/test_sq.c index f8292b4d3..8f464faf3 100644 --- a/src/sq/test_sq.c +++ b/src/sq/test_sq.c @@ -63,7 +63,11 @@ run_queries (sqlite3 *db) TALER_amount_hton (&namount, &hamount); json = json_object (); - json_object_set_new (json, "foo", json_integer (42)); + GNUNET_assert (NULL != json); + GNUNET_assert (0 == + json_object_set_new (json, + "foo", + json_integer (42))); GNUNET_assert (NULL != json); GNUNET_assert (GNUNET_OK == GNUNET_SQ_prepare (db, |