From 65457396b358bf797420bfd9af552e3bde01640f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 5 Mar 2017 17:36:58 +0100 Subject: fix use of uninit value --- src/exchange-tools/taler-exchange-keyup.c | 5 ++--- src/include/taler_exchangedb_plugin.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c index 29ccd449e..f14e28b3c 100644 --- a/src/exchange-tools/taler-exchange-keyup.c +++ b/src/exchange-tools/taler-exchange-keyup.c @@ -922,9 +922,8 @@ create_wire_fee_for_method (void *cls, if (GNUNET_OK != *ret) return; - last_date = GNUNET_TIME_absolute_max (last_date, - GNUNET_TIME_absolute_add (lookahead_sign_stamp, - max_duration_spend)); + last_date = GNUNET_TIME_absolute_add (lookahead_sign_stamp, + max_duration_spend); GNUNET_asprintf (§ion, "exchange-wire-%s", wiremethod); diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index e7ba06f4c..2beb0e38d 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -1,6 +1,6 @@ /* 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 terms of the GNU General Public License as published by the Free Software -- cgit v1.2.3