diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-18 19:16:33 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-18 19:16:44 +0100 |
commit | 8dbc19758b87c41ada780c20edac0c500ab2daa1 (patch) | |
tree | 88f24a9f5d304a1b3a5c9ab6509395bb38af3cfb /src/json/json_wire.c | |
parent | d53eca894011f31b698a13cf41d31e2d19c7e427 (diff) |
fix compiler warnings
Diffstat (limited to 'src/json/json_wire.c')
-rw-r--r-- | src/json/json_wire.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/json/json_wire.c b/src/json/json_wire.c index 229878ae4..74a0b75f4 100644 --- a/src/json/json_wire.c +++ b/src/json/json_wire.c @@ -233,7 +233,6 @@ validate_iban (const char *iban) unsigned long long dividend; unsigned long long remainder; int nread; - int ret; unsigned int i; unsigned int j; @@ -289,10 +288,10 @@ validate_iban (const char *iban) for (unsigned int i = 0; i<j; i += 16) { if (1 != - (ret = sscanf (&nbuf[i], - "%16llu %n", - ÷nd, - &nread))) + sscanf (&nbuf[i], + "%16llu %n", + ÷nd, + &nread)) { GNUNET_free (nbuf); GNUNET_break_op (0); |