summaryrefslogtreecommitdiff
path: root/src/rps/gnunet-service-rps.c
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2020-11-16 22:53:30 +0100
committerJulius Bünger <buenger@mytum.de>2020-11-16 22:53:30 +0100
commit0108f132a418aa48222e2798dba4de38de8dfef5 (patch)
treeb5b024fe34f6b45ad2b59b8cb4f1a83a3db5638a /src/rps/gnunet-service-rps.c
parentd9b47275349c8686f3e75c4c04c0e717894f1cb8 (diff)
rps: get rid of warnings about harmless uninitialized variables
Diffstat (limited to 'src/rps/gnunet-service-rps.c')
-rw-r--r--src/rps/gnunet-service-rps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index ecbc8e208..0e3759c4c 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -596,8 +596,10 @@ static const uint32_t num_valid_peers_max = UINT32_MAX;
static void
do_round (void *cls);
+#if ENABLE_MALICIOUS
static void
do_mal_round (void *cls);
+#endif /* ENABLE_MALICIOUS */
/**