fix use of uninitialized (shadow-issue) expiration
authorChristian Grothoff <christian@grothoff.org>
Fri, 10 Mar 2017 16:07:19 +0000 (17:07 +0100)
committerChristian Grothoff <christian@grothoff.org>
Fri, 10 Mar 2017 16:07:19 +0000 (17:07 +0100)
src/dht/gnunet-dht-put.c

index 64764cb65d7e2c58406d7478190f0b618e8cf056..a9ce097d6eaae3d0699c12306d2e826ed7b66ed9 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009 GNUnet e.V.
+     Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007, 2009, 2017 GNUnet e.V.
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -148,7 +148,6 @@ run (void *cls,
      const char *cfgfile,
      const struct GNUNET_CONFIGURATION_Handle *c)
 {
-  struct GNUNET_TIME_Absolute expiration;
   enum GNUNET_DHT_RouteOption ro;
 
   cfg = c;