summaryrefslogtreecommitdiff
path: root/src/rps/rps-sampler_client.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/rps-sampler_client.c
parentd9b47275349c8686f3e75c4c04c0e717894f1cb8 (diff)
rps: get rid of warnings about harmless uninitialized variables
Diffstat (limited to 'src/rps/rps-sampler_client.c')
-rw-r--r--src/rps/rps-sampler_client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rps/rps-sampler_client.c b/src/rps/rps-sampler_client.c
index 5ab854e01..714943b51 100644
--- a/src/rps/rps-sampler_client.c
+++ b/src/rps/rps-sampler_client.c
@@ -379,7 +379,8 @@ sampler_mod_get_rand_peer (void *cls)
return;
}
/* compute probability */
- /* Currently disabled due to numerical limitations */
+ /* FIXME: Currently disabled due to numerical limitations */
+ prob_observed_n = 0; // Inititialise to some value
// prob_observed_n = prob_observed_n_peers (sampler->num_peers_estim,
// s_elem->num_peers,
// sampler->deficiency_factor);