summaryrefslogtreecommitdiff
path: root/src/json
diff options
context:
space:
mode:
Diffstat (limited to 'src/json')
-rw-r--r--src/json/test_json.c4
-rw-r--r--src/json/test_json_wire.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/json/test_json.c b/src/json/test_json.c
index d2f1e2b73..732a3d774 100644
--- a/src/json/test_json.c
+++ b/src/json/test_json.c
@@ -30,7 +30,7 @@
* @return 0 on success
*/
static int
-test_amount ()
+test_amount (void)
{
json_t *j;
struct TALER_Amount a1;
@@ -60,6 +60,8 @@ int
main (int argc,
const char *const argv[])
{
+ (void) argc;
+ (void) argv;
GNUNET_log_setup ("test-json",
"WARNING",
NULL);
diff --git a/src/json/test_json_wire.c b/src/json/test_json_wire.c
index c4d49de7a..3b2123e26 100644
--- a/src/json/test_json_wire.c
+++ b/src/json/test_json_wire.c
@@ -35,6 +35,8 @@ main (int argc,
const char *payto = "payto://x-taler-bank/42";
char *p;
+ (void) argc;
+ (void) argv;
GNUNET_log_setup ("test-json-wire",
"WARNING",
NULL);