fix use of uninit value

This commit is contained in:
Christian Grothoff 2017-03-05 17:36:58 +01:00
parent 43cfb0eace
commit 65457396b3
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 3 additions and 4 deletions

View File

@ -922,9 +922,8 @@ create_wire_fee_for_method (void *cls,
if (GNUNET_OK != *ret) if (GNUNET_OK != *ret)
return; return;
last_date = GNUNET_TIME_absolute_max (last_date, last_date = GNUNET_TIME_absolute_add (lookahead_sign_stamp,
GNUNET_TIME_absolute_add (lookahead_sign_stamp, max_duration_spend);
max_duration_spend));
GNUNET_asprintf (&section, GNUNET_asprintf (&section,
"exchange-wire-%s", "exchange-wire-%s",
wiremethod); wiremethod);

View File

@ -1,6 +1,6 @@
/* /*
This file is part of TALER This file is part of TALER
Copyright (C) 2014, 2015, 2016 GNUnet e.V. Copyright (C) 2014-2017 GNUnet e.V.
TALER is free software; you can redistribute it and/or modify it under the TALER is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software terms of the GNU General Public License as published by the Free Software