aboutsummaryrefslogtreecommitdiff
path: root/src/dht/gnunet-dht-put.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-10 17:07:19 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-10 17:07:19 +0100
commit121556dc802b1098cb64d47507f6436d9cb72256 (patch)
treea6b00fea34bf72eaa388aff0a2de6170e1b74255 /src/dht/gnunet-dht-put.c
parent1fee963ef849d8745eb971914fd11650b7ac5730 (diff)
downloadgnunet-121556dc802b1098cb64d47507f6436d9cb72256.tar.gz
gnunet-121556dc802b1098cb64d47507f6436d9cb72256.zip
fix use of uninitialized (shadow-issue) expiration
Diffstat (limited to 'src/dht/gnunet-dht-put.c')
-rw-r--r--src/dht/gnunet-dht-put.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dht/gnunet-dht-put.c b/src/dht/gnunet-dht-put.c
index 64764cb65..a9ce097d6 100644
--- a/src/dht/gnunet-dht-put.c
+++ b/src/dht/gnunet-dht-put.c
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet. 2 This file is part of GNUnet.
3 Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009 GNUnet e.V. 3 Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009, 2017 GNUnet e.V.
4 4
5 GNUnet is free software; you can redistribute it and/or modify 5 GNUnet is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published 6 it under the terms of the GNU General Public License as published
@@ -148,7 +148,6 @@ run (void *cls,
148 const char *cfgfile, 148 const char *cfgfile,
149 const struct GNUNET_CONFIGURATION_Handle *c) 149 const struct GNUNET_CONFIGURATION_Handle *c)
150{ 150{
151 struct GNUNET_TIME_Absolute expiration;
152 enum GNUNET_DHT_RouteOption ro; 151 enum GNUNET_DHT_RouteOption ro;
153 152
154 cfg = c; 153 cfg = c;