summaryrefslogtreecommitdiff
path: root/src/sq/test_sq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sq/test_sq.c')
-rw-r--r--src/sq/test_sq.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/sq/test_sq.c b/src/sq/test_sq.c
index 5f715ad6c..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,
@@ -152,6 +156,8 @@ main (int argc,
sqlite3 *db;
int ret;
+ (void) argc;
+ (void) argv;
GNUNET_log_setup ("test-pq",
"WARNING",
NULL);