aboutsummaryrefslogtreecommitdiff
path: root/src/sq
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-02-21 14:44:31 +0100
committerChristian Grothoff <christian@grothoff.org>2023-02-21 14:44:31 +0100
commit7da69142b4d39681a74b9654c5dec1cbc8b9b24b (patch)
treec63faf3e8c90ee33441dd993f35feb01e378fb21 /src/sq
parent95bd24916ed7baa7a6059c2a788e904bb5166606 (diff)
-misc minor bugfixes
Diffstat (limited to 'src/sq')
-rw-r--r--src/sq/test_sq.c6
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,