coverity fix
authorNathan S. Evans <evans@in.tum.de>
Tue, 19 Jul 2011 12:33:54 +0000 (12:33 +0000)
committerNathan S. Evans <evans@in.tum.de>
Tue, 19 Jul 2011 12:33:54 +0000 (12:33 +0000)
src/testing/testing_group.c

index 27b3b2cad1fc31699eef99c14f5722d2df336a34..a48f628c92c516709291e160151d327d34cc9906 100644 (file)
@@ -2424,6 +2424,7 @@ unblacklist_iterator (void *cls,
   }
 #endif
 
+#if !OLD
 /**
  * Create a blacklist topology based on the allowed topology
  * which disallows any connections not in the allowed topology
@@ -2437,8 +2438,8 @@ unblacklist_iterator (void *cls,
  *
  */
 static unsigned int
-copy_allowed(struct GNUNET_TESTING_PeerGroup *pg,
-             GNUNET_TESTING_ConnectionProcessor proc)
+copy_allowed (struct GNUNET_TESTING_PeerGroup *pg,
+              GNUNET_TESTING_ConnectionProcessor proc)
 {
   unsigned int count;
   unsigned int total;
@@ -2471,6 +2472,7 @@ copy_allowed(struct GNUNET_TESTING_PeerGroup *pg,
              total);
   return total;
 }
+#endif
 
 /**
  * Create a topology given a peer group (set of running peers)