-fix fix fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 5 Mar 2012 21:07:30 +0000 (21:07 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 5 Mar 2012 21:07:30 +0000 (21:07 +0000)
src/statistics/gnunet-service-statistics.c

index 27102f07033b744e2b730560bebc213818564a6a..58ef763e3ad0ce8141b0dc2ce3c225c1a306d05e 100644 (file)
@@ -682,7 +682,6 @@ do_shutdown ()
 {
   struct WatchEntry *we;
   struct StatsEntry *se;
-  struct GNUNET_SERVER_Handle *s;
 
   if (NULL == nc)
     return;
@@ -701,10 +700,6 @@ do_shutdown ()
     }
     GNUNET_free (se);
   }
-  GNUNET_assert (NULL != srv);
-  s = srv;
-  srv = NULL;
-  GNUNET_SERVER_destroy (s);
 }