aboutsummaryrefslogtreecommitdiff
path: root/src/json/json_wire.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-18 19:16:33 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-18 19:16:44 +0100
commit8dbc19758b87c41ada780c20edac0c500ab2daa1 (patch)
tree88f24a9f5d304a1b3a5c9ab6509395bb38af3cfb /src/json/json_wire.c
parentd53eca894011f31b698a13cf41d31e2d19c7e427 (diff)
fix compiler warnings
Diffstat (limited to 'src/json/json_wire.c')
-rw-r--r--src/json/json_wire.c9
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",
- &dividend,
- &nread)))
+ sscanf (&nbuf[i],
+ "%16llu %n",
+ &dividend,
+ &nread))
{
GNUNET_free (nbuf);
GNUNET_break_op (0);