aboutsummaryrefslogtreecommitdiff
path: root/src/json/json_wire.c
diff options
context:
space:
mode:
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);